Skip to content

Commit

Permalink
Fix AWS cloudfront dist
Browse files Browse the repository at this point in the history
  • Loading branch information
seadeep42 committed Aug 3, 2024
1 parent dd0f2a9 commit 7db6c1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-south-1

- name: Deploy dashboard to s3 bucket
- name: Deploy to s3 bucket
run: aws s3 sync ./dist s3://${{ secrets.AWS_BPT_FRONTEND_BUCKET }}/

- name: Invalidate dashboard stage cloudfront
run: aws cloudfront create-invalidation --distribution-id AWS_BPT_CLOUDFRONT_DIST --paths "/*"
- name: Invalidate cloudfront
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_BPT_CLOUDFRONT_DIST }} --paths "/*"

0 comments on commit 7db6c1b

Please sign in to comment.