fix(ci): fix duplicate step ID
This commit is contained in:
parent
59453ef1f0
commit
9c4c29f791
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue