From a0477ba6ca7dbfce6800e97ab4ce464f44232c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=B1=EC=9A=B0?= Date: Tue, 10 Sep 2024 02:30:02 +0900 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d2fa9f3..2786cab 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,12 +14,12 @@ jobs: - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '20' - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} @@ -57,14 +57,3 @@ jobs: run: | aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*" continue-on-error: false - - - name: Notify on failure - if: failure() - uses: 8398a7/action-slack@v3 - with: - status: ${{ job.status }} - text: 'Deployment failed!' - fields: repo,message,commit,author,action,eventName,ref,workflow - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}