Skip to content

Commit

Permalink
wip: auto deploy api.rocket.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Mar 2, 2024
1 parent 6b0760b commit db4a375
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/trigger-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Trigger Deploy
on: [push]
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
github-token: ${{ secrets.API_DOCS_DEPLOY_TOKEN }}
script: |
github.rest.actions.createWorkflowDispatch({
owner: 'rwf2',
repo: 'api.rocket.rs',
workflow_id: 'deploy.yaml',
ref: 'master'
})

0 comments on commit db4a375

Please sign in to comment.