ci: avoid fetching full git history during build
This commit is contained in:
parent
71cf00ddc6
commit
eae048d6a8
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -59,7 +59,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-depth: 1
|
||||
fetch-tags: false
|
||||
|
||||
- name: Get Next Version
|
||||
if: ${{ github.ref_name == 'release' }}
|
||||
|
@ -131,7 +132,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-depth: 1
|
||||
fetch-tags: false
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
|
@ -190,7 +192,7 @@ jobs:
|
|||
docker run --rm --name collectstatics -v $(pwd):/workspace ghcr.io/ietf-tools/datatracker-app-base:latest sh dev/deploy/collectstatics.sh
|
||||
echo "Pushing statics..."
|
||||
cd static
|
||||
aws s3 sync . s3://static/dt/$PKG_VERSION
|
||||
aws s3 sync . s3://static/dt/$PKG_VERSION --only-show-errors
|
||||
|
||||
- name: Update CHANGELOG
|
||||
id: changelog
|
||||
|
|
Loading…
Reference in a new issue