Skip to content

Commit 8471b4e

Browse files
committed
add Dispatch sv2-apps update workflow
1 parent 9d9cc06 commit 8471b4e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Dispatch sv2-apps update
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
dispatch:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Dispatch stratum main update to sv2-apps
14+
uses: peter-evans/repository-dispatch@v3
15+
with:
16+
token: ${{ secrets.PAT }}
17+
repository: stratum-mining/sv2-apps
18+
event-type: stratum-main-updated
19+
client-payload: >-
20+
{"ref":"${{ github.ref }}","sha":"${{ github.sha }}","source_repository":"${{ github.repository }}","source_workflow":"dispatch-sv2-apps-update"}

0 commit comments

Comments
 (0)