Skip to content

Commit

Permalink
chore(ci): increase number of retries of aws commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Dec 6, 2022
1 parent c6d941d commit 2509214
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,6 @@ jobs:
run: |
./scripts/deploy_web.sh
- name: "Invalidate Cloudfront cache"
if: ${{ endsWith(github.ref, '/master') || endsWith(github.ref, '/staging') || endsWith(github.ref, '/release') }}
run: |
aws cloudfront create-invalidation \
--distribution-id ${AWS_CLOUDFRONT_DISTRIBUTION_ID} \
--paths "/*"
- name: "Create and push git tag"
if: ${{ endsWith(github.ref, '/release') }}
run: |
Expand Down
1 change: 1 addition & 0 deletions scripts/deploy_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ trap "exit" INT
: "${AWS_S3_BUCKET:?The environment variable is required}"
: "${AWS_CLOUDFRONT_DISTRIBUTION_ID:?The environment variable is required}"

export AWS_MAX_ATTEMPTS=10

pushd "packages_rs/nextclade-web/.build/production/web" >/dev/null

Expand Down

0 comments on commit 2509214

Please sign in to comment.