Skip to content

Commit eae048d

Browse files
authored
ci: avoid fetching full git history during build
1 parent 71cf00d commit eae048d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959
steps:
6060
- uses: actions/checkout@v4
6161
with:
62-
fetch-depth: 0
62+
fetch-depth: 1
63+
fetch-tags: false
6364

6465
- name: Get Next Version
6566
if: ${{ github.ref_name == 'release' }}
@@ -131,7 +132,8 @@ jobs:
131132
steps:
132133
- uses: actions/checkout@v4
133134
with:
134-
fetch-depth: 0
135+
fetch-depth: 1
136+
fetch-tags: false
135137

136138
- name: Setup Node.js
137139
uses: actions/setup-node@v4
@@ -190,7 +192,7 @@ jobs:
190192
docker run --rm --name collectstatics -v $(pwd):/workspace ghcr.io/ietf-tools/datatracker-app-base:latest sh dev/deploy/collectstatics.sh
191193
echo "Pushing statics..."
192194
cd static
193-
aws s3 sync . s3://static/dt/$PKG_VERSION
195+
aws s3 sync . s3://static/dt/$PKG_VERSION --only-show-errors
194196
195197
- name: Update CHANGELOG
196198
id: changelog

0 commit comments

Comments
 (0)