mirror of https://github.com/rwf2/Rocket.git
Add action to trigger API docs deploy.
This commit is contained in:
parent
6b0760b83d
commit
b15dc700aa
|
@ -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'
|
||||
})
|
Loading…
Reference in New Issue