add dispatch docs workflow

This commit is contained in:
Caelan Sayler
2024-02-05 21:54:22 +00:00
parent ce1fef463e
commit df212478f5

21
.github/workflows/docs.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Docs
on:
push:
branches:
- master
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.DOCS_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'velopack',
repo: 'velopack.website',
workflow_id: 'build.yml',
ref: 'master'
})