From c280263b73ed9fec7919322dcdc19809f1ca3485 Mon Sep 17 00:00:00 2001 From: onejuneee Date: Tue, 26 Nov 2024 20:52:11 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20aws=20cli=EC=9D=84=20=EC=A7=81?= =?UTF-8?q?=EC=A0=91=20=EC=82=AC=EC=9A=A9=ED=95=98=EC=97=AC=20=EC=BA=90?= =?UTF-8?q?=EC=8B=9C=20=EB=AC=B4=ED=9A=A8=ED=99=94=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 975baf23..638ab247 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -64,10 +64,10 @@ jobs: AWS_REGION: ${{ secrets.AWS_REGION }} - name: Invalidate CloudFront cache - uses: chetan/invalidate-cloudfront-action@v4 - with: - distribution: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} - paths: "/*" + run: | + aws cloudfront create-invalidation \ + --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} \ + --paths "/*" env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}