diff --git a/.github/workflows/trigger-deploy.yaml b/.github/workflows/trigger-deploy.yaml new file mode 100644 index 0000000000..c49e8ec57f --- /dev/null +++ b/.github/workflows/trigger-deploy.yaml @@ -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' + })