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,