We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5b59dc commit 54d5179Copy full SHA for 54d5179
.github/workflows/deploy.yml
@@ -51,3 +51,9 @@ jobs:
51
52
- name: Upload frontend to S3
53
run: aws s3 sync Projects/task-tracker/frontend/dist/ s3://${{ secrets.S3_BUCKET }}/ --delete
54
+
55
+ - name: Invalidate CloudFront cache
56
+ run: |
57
+ aws cloudfront create-invalidation \
58
+ --distribution-id "${{ secrets.CF_DISTRIBUTION_ID }}" \
59
+ --paths "/*"
0 commit comments