Skip to content

Commit

Permalink
ci: nightly try/catch
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbarr93 committed Dec 9, 2024
1 parent ed7a6d1 commit 4127ccb
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@ jobs:
with:
github-token: ${{ secrets.CI_PAT }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.name,
workflow_id: 'deploy.yml',
ref: 'main',
inputs: {
network: 'galileo-4',
kernel_address: 'andr1536hsxv4706s0wwmswcc7j7t7newvfu8tqx7fnm8hfvdznlc0dnsal669q',
deploy_os: 'true',
}
});
try {
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.name,
workflow_id: 'deploy.yml',
ref: 'main',
inputs: {
network: 'galileo-4',
kernel_address: 'andr1536hsxv4706s0wwmswcc7j7t7newvfu8tqx7fnm8hfvdznlc0dnsal669q',
deploy_os: 'true',
}
});
} catch (error) {
console.error('Error triggering deploy workflow:', error);
}

0 comments on commit 4127ccb

Please sign in to comment.