We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 66cfb03 + 4b3902a commit 7b3242aCopy full SHA for 7b3242a
.github/workflows/fe-ci-cd.yml
@@ -114,7 +114,7 @@ jobs:
114
deploy:
115
runs-on: ubuntu-latest
116
needs: build
117
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
+ if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
118
environment: dongarium
119
steps:
120
- name: Download build artifact
@@ -132,5 +132,5 @@ jobs:
132
133
- name: Deploy to S3 and invalidate CloudFront
134
run: |
135
- aws s3 sync ./dist s3://${{ secrets.S3_BUCKET }} --delete --acl public-read
+ aws s3 sync ./dist s3://${{ secrets.S3_BUCKET }} --delete
136
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"
0 commit comments