From 9c4c29f79186575797d99ea2c07292dafb6cb696 Mon Sep 17 00:00:00 2001 From: Rickard Andersson Date: Wed, 23 Aug 2023 22:36:52 +0300 Subject: [PATCH] fix(ci): fix duplicate step ID --- .github/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index cf6be31c..f484d43e 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -77,7 +77,7 @@ jobs: run: yarn vercel deploy --prebuilt --prod --token ${{ secrets.vercel_token }} > _vercel-deployment-url - name: Add deployment uses: actions/github-script@v6 - id: deployment + id: vercel-deployment with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -107,7 +107,7 @@ jobs: await github.rest.repos.createDeploymentStatus({ owner: context.repo.owner, repo: context.repo.repo, - deployment_id: ${{ steps.deployment.outputs.deployment_id }}, + deployment_id: ${{ steps.vercel-deployment.outputs.deployment_id }}, state: 'success', environment_url: deploymentUrl, log_url: deploymentUrl,