Skip to content

Commit

Permalink
invalidate cache after deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
relsqui committed Dec 29, 2023
1 parent 136145a commit d1ad91b
Show file tree
Hide file tree
Showing 2 changed files with 274 additions and 272 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
aws-region: ${{ env.AWS_REGION }}
role-to-assume: ${{ env.AWS_ROLE }}
role-session-name: ${{ env.AWS_SESSION_NAME }}
- run: aws s3 sync build "s3://${AWS_S3_BUCKET}"
- run: aws s3 sync build "s3://${AWS_S3_BUCKET}" && aws cloudfront create-invalidation --distribution-id 'ED227UN54U5OB' --paths '/*'
Loading

0 comments on commit d1ad91b

Please sign in to comment.