We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
update-licenses
1 parent adf5c19 commit cea34c1Copy full SHA for cea34c1
1 file changed
.github/workflows/dispatch.yaml
@@ -0,0 +1,22 @@
1
+name: Dispatch license updated event to deimonn.github.io
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ paths:
8
+ - LICENSE
9
10
+jobs:
11
+ dispatch:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Dispatch event
15
+ run: |
16
+ curl -L \
17
+ -X POST \
18
+ -H 'Accept: application/vnd.github+json' \
19
+ -H "Authorization: Bearer ${{ secrets.DISPATCH_PAT }}" \
20
+ -H "X-GitHub-Api-Version: 2022-11-28" \
21
+ https://api.github.com/repos/deimonn/deimonn.github.io/dispatches \
22
+ -d '{"event_type":"update-licenses"}'
0 commit comments