Skip to content

Commit 7b3242a

Browse files
authored
Merge pull request #169 from kakao-tech-campus-3rd-step3/chore/change-deploy-branch
2 parents 66cfb03 + 4b3902a commit 7b3242a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/fe-ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
deploy:
115115
runs-on: ubuntu-latest
116116
needs: build
117-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
117+
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
118118
environment: dongarium
119119
steps:
120120
- name: Download build artifact
@@ -132,5 +132,5 @@ jobs:
132132

133133
- name: Deploy to S3 and invalidate CloudFront
134134
run: |
135-
aws s3 sync ./dist s3://${{ secrets.S3_BUCKET }} --delete --acl public-read
135+
aws s3 sync ./dist s3://${{ secrets.S3_BUCKET }} --delete
136136
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"

0 commit comments

Comments
 (0)