Skip to content

Commit

Permalink
force no cache for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
scandycuz committed Oct 11, 2024
1 parent 9a4fbb1 commit f8c0c26
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
- name: Deploy studio
run: aws --region ${{ secrets.AWS_REGION }} s3 sync ./dist/apps/studio s3://${{ secrets.AWS_STUDIO_BUCKET_STUDIO }} --no-progress --delete

- name: Invalidate Cloudfront Cache
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_STUDIO_DISTRIBUTION_STUDIO }} --paths '/*'
# - name: Invalidate Cloudfront Cache
# run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_STUDIO_DISTRIBUTION_STUDIO }} --paths '/*'

- name: Send update to slack
id: slack
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/aws-hosting-merge-deploy-newm-studio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
- name: Deploy to S3
run: aws --region ${{ secrets.AWS_REGION }} s3 sync ./dist/apps/studio s3://${{ secrets.AWS_STUDIO_BUCKET_GARAGE }} --no-progress --delete

- name: Invalidate Cloudfront Cache
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_STUDIO_DISTRIBUTION_GARAGE }} --paths '/*'
# - name: Invalidate Cloudfront Cache
# run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_STUDIO_DISTRIBUTION_GARAGE }} --paths '/*'

- name: Send update to slack
id: slack
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ sentry-sourcemaps:
sentry-cli sourcemaps inject --org project-newm --project javascript-react ./dist/apps/studio/ && sentry-cli sourcemaps upload --org project-newm --project javascript-react ./dist/apps/studio/

build-studio:
nx build studio
nx build studio --skip-nx-cache

build-studio-with-sentry: build-studio sentry-sourcemaps

0 comments on commit f8c0c26

Please sign in to comment.