mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-21 00:40:09 +00:00
debug(ci): console log deployment ID in deploy script
This commit is contained in:
parent
670bb8dc03
commit
8d94c1b0f2
4
.github/workflows/deploy.yaml
vendored
4
.github/workflows/deploy.yaml
vendored
@ -105,10 +105,12 @@ jobs:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
const deploymentUrl = fs.readFileSync('_vercel-deployment-url', 'utf8');
|
||||
const deploymentId = ${{ steps.vercel-deployment.outputs.deployment_id }};
|
||||
console.log('deploymentId', deploymentId);
|
||||
await github.rest.repos.createDeploymentStatus({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
deployment_id: ${{ steps.vercel-deployment.outputs.deployment_id }},
|
||||
deployment_id: deploymentId,
|
||||
state: 'success',
|
||||
environment_url: deploymentUrl,
|
||||
log_url: deploymentUrl,
|
||||
|
Loading…
x
Reference in New Issue
Block a user