From 23891a9db0cb9133be6aefc4d03ac8a8d511b142 Mon Sep 17 00:00:00 2001 From: Marei Kikukawa <12670155+calmery@users.noreply.github.com> Date: Tue, 3 Nov 2020 04:59:20 +0900 Subject: [PATCH] =?UTF-8?q?GitHub=20Actions=20=E3=81=AE=E4=B8=8D=E8=A6=81?= =?UTF-8?q?=E3=81=AA=E6=9D=A1=E4=BB=B6=E6=96=87=E3=82=92=E5=89=8A=E9=99=A4?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-to-preview.yml | 3 +-- .github/workflows/deploy-to-production.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-to-preview.yml b/.github/workflows/deploy-to-preview.yml index 938182d6..0a566a5b 100644 --- a/.github/workflows/deploy-to-preview.yml +++ b/.github/workflows/deploy-to-preview.yml @@ -40,8 +40,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - id: environment-url run: echo "::set-output name=body::$(cat environment-url)" - - if: steps.vercel.outcome == 'success' - uses: chrnorm/deployment-status@releases/v1 + - uses: chrnorm/deployment-status@releases/v1 with: deployment_id: ${{ steps.deployment-action.outputs.deployment_id }} environment_url: ${{ steps.environment-url.outputs.body }} diff --git a/.github/workflows/deploy-to-production.yml b/.github/workflows/deploy-to-production.yml index ea37bebb..41d7e118 100644 --- a/.github/workflows/deploy-to-production.yml +++ b/.github/workflows/deploy-to-production.yml @@ -44,8 +44,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - id: environment-url run: echo "::set-output name=body::$(cat environment-url)" - - if: steps.vercel.outcome == 'success' - uses: chrnorm/deployment-status@releases/v1 + - uses: chrnorm/deployment-status@releases/v1 with: deployment_id: ${{ steps.deployment-action.outputs.deployment_id }} environment_url: ${{ steps.environment-url.outputs.body }}