diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9df5ba0..cefe05e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,11 +37,6 @@ jobs: - name: Build run: CI='' pnpm run build - - name: Invalidate CloudFront Cache - run: - aws cloudfront create-invalidation --distribution-id ${{ - secrets.AWS_DISTRIBUTION_ID }} --paths "/*" - - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: @@ -55,3 +50,7 @@ jobs: --recursive \ --region ap-northeast-2 \ ./dist s3://${{env.S3_BUCKET_NAME}} + + - name: Invalidate CloudFront Cache + run: + aws cloudfront create-invalidation --distribution-id ${{secrets.AWS_DISTRIBUTION_ID }} --paths "/*" diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..821c19d --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +.github \ No newline at end of file