Skip to content

Commit bedbf97

Browse files
authored
Merge pull request #97 from dennisreimann/patch-1
Create dispatch-update.yml
2 parents 1287973 + 8b7a14a commit bedbf97

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/dispatch-update.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Dispatch update
2+
on:
3+
- push
4+
- workflow_dispatch
5+
jobs:
6+
dispatch:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Push to repo
10+
uses: peter-evans/repository-dispatch@v3
11+
with:
12+
token: ${{ secrets.PAT }}
13+
repository: stratum-mining/stratumprotocol.org
14+
event-type: update-submodule
15+
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "module": "src/specification", "branch": "main"}'

0 commit comments

Comments
 (0)