From 83d0f2ea0ad67bb16b8b2a1afe03cba4a629372e Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Mon, 12 Aug 2024 14:17:31 +0900 Subject: [PATCH] =?UTF-8?q?Env:=20deploy=20=ED=8C=8C=EC=9D=BC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 9 ++++----- .prettierignore | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 .prettierignore 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