diff --git a/.github/workflows/frontenddeploy.yml b/.github/workflows/frontenddeploy.yml index c79996f..89ec3ce 100644 --- a/.github/workflows/frontenddeploy.yml +++ b/.github/workflows/frontenddeploy.yml @@ -39,3 +39,12 @@ jobs: --region ap-northeast-2 \ build s3://sheepdog13.blog \ --delete + + - name: CloudFront 캐시 무력화 코드 + uses: chetan/invalidate-cloudfront-action@v2 + env: + DISTRIBUTION: ${{ secrets.AWS_CLOUDFRONT_ID}} + PATHS: "/*" + AWS_REGION: ${{ secrets.AWS_REGION }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/client/src/components/views/RegisterPage/RegisterPage.js b/client/src/components/views/RegisterPage/RegisterPage.js index 9463e19..369f9d1 100644 --- a/client/src/components/views/RegisterPage/RegisterPage.js +++ b/client/src/components/views/RegisterPage/RegisterPage.js @@ -47,6 +47,7 @@ function RegisterPage() { return ( +

cloudfront 캐시 무력화 확인

Sign Up