We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d9aec2 commit 0496750Copy full SHA for 0496750
1 file changed
.github/workflows/trigger-build-web-page.yml
@@ -0,0 +1,24 @@
1
+name: Trigger Build Web Page
2
+
3
+on:
4
+ workflow_run:
5
+ workflows: ["Build Emscripten"]
6
+ types:
7
+ - completed
8
9
+jobs:
10
+ send-notify:
11
+ runs-on: ubuntu-latest
12
+ if: ${{ github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'master' }}
13
+ steps:
14
+ - name: Send notification to DiligentGraphics.github.io
15
+ env:
16
+ TARGET_REPO_TOKEN: ${{ secrets.PAGES_BUILD_AND_DEPLOY }}
17
+ run: |
18
+ curl -L \
19
+ -X POST \
20
+ -H "Accept: application/vnd.github+json" \
21
+ -H "Authorization: Bearer $TARGET_REPO_TOKEN" \
22
+ -H "X-GitHub-Api-Version: 2022-11-28" \
23
+ https://api.github.com/repos/DiligentGraphics/DiligentGraphics.github.io/dispatches \
24
+ --data '{ "event_type": "rebuild-wasm-modules" }'
0 commit comments