Skip to content

Commit

Permalink
deploy/#92 : 배포 문서를 수정한다
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpgw committed Feb 24, 2025
1 parent b06c215 commit 3a66ed8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,13 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: './frontend/dist'

- name: Invalidate CloudFront Cache
uses: chetan/invalidate-cloudfront-action@master
env:
AWS_DISTRIBUTION: ${{ secrets.AWS_DISTRIBUTION_ID }}
PATHS: '/index.html'
# 작업 실행 중 에러가 발생해도 다음 단계를 실행하도록 설정한다.
# 이렇게 설정하면 cloudFront 캐시 무효화 작업에서 에러가 발생해도
# workflow를 중단시키지 않는다.
continue-on-error: true

0 comments on commit 3a66ed8

Please sign in to comment.