From 8b7a14a2246c790ae62d3aee9b427f89f918c752 Mon Sep 17 00:00:00 2001 From: d11n Date: Tue, 3 Sep 2024 11:04:06 +0200 Subject: [PATCH] Create dispatch-update.yml --- .github/workflows/dispatch-update.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/dispatch-update.yml diff --git a/.github/workflows/dispatch-update.yml b/.github/workflows/dispatch-update.yml new file mode 100644 index 0000000..98a784f --- /dev/null +++ b/.github/workflows/dispatch-update.yml @@ -0,0 +1,15 @@ +name: Dispatch update +on: + - push + - workflow_dispatch +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - name: Push to repo + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.PAT }} + repository: stratum-mining/stratumprotocol.org + event-type: update-submodule + client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "module": "src/specification", "branch": "main"}'