add action, triggering shaderManual deployment action

This commit is contained in:
Garux 2023-04-26 16:04:51 +06:00
parent db2b615cbf
commit f6972d0422

23
.github/workflows/shaderManual.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: shaderManual_deploy
on:
push:
branches: ["master"]
paths:
- 'docs/shaderManual/**'
workflow_dispatch:
jobs:
shaderManual_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.ACTION_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'Garux',
repo: 'shaderManual',
workflow_id: 'static.yml',
ref: 'main'
})