Skip to content

Commit

Permalink
Add action to trigger API docs deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Mar 2, 2024
1 parent 6b0760b commit b15dc70
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/trigger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Trigger
on: [push]
jobs:
trigger:
name: api.rocket.rs
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 b15dc70

Please sign in to comment.