Skip to content

Commit f6972d0

Browse files
committed
add action, triggering shaderManual deployment action
1 parent db2b615 commit f6972d0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/shaderManual.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: shaderManual_deploy
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
paths:
7+
- 'docs/shaderManual/**'
8+
workflow_dispatch:
9+
10+
jobs:
11+
shaderManual_deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/github-script@v6
15+
with:
16+
github-token: ${{ secrets.ACTION_TOKEN }}
17+
script: |
18+
await github.rest.actions.createWorkflowDispatch({
19+
owner: 'Garux',
20+
repo: 'shaderManual',
21+
workflow_id: 'static.yml',
22+
ref: 'main'
23+
})

0 commit comments

Comments
 (0)