fix(ci): fix duplicate step ID

This commit is contained in:
Rickard Andersson 2023-08-23 22:36:52 +03:00
parent 59453ef1f0
commit 9c4c29f791
1 changed files with 2 additions and 2 deletions

View File

@ -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,