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"}'