Skip to content

Commit

Permalink
Merge pull request #166 from Garodden/165/github_workflow_FE
Browse files Browse the repository at this point in the history
CloudFront Invalidation 추가
  • Loading branch information
cmleem authored May 14, 2024
2 parents 6d611f1 + fdd847f commit 2188b80
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/frontDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,10 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ env.AWS_REGION }}
SOURCE_DIR: "./src/front/dist"

- name: CloudFront Invalidadtion
env:
CLOUD_FRONT_ID: ${{ secrets.AWS_CLOUDFRONT_ID}}
run: |
aws cloudfront create-invalidation \
--distribution-id $CLOUD_FRONT_ID --paths /*

0 comments on commit 2188b80

Please sign in to comment.