mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
add dispatch docs workflow
This commit is contained in:
21
.github/workflows/docs.yml
vendored
Normal file
21
.github/workflows/docs.yml
vendored
Normal 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'
|
||||
})
|
||||
Reference in New Issue
Block a user