stratum-mining / stratumprotocol.org

Website for the Stratum V2 bitcoin mining protocol
https://stratumprotocol.org
MIT License
13 stars 20 forks source link

Update actions #229

Closed dennisreimann closed 1 month ago

dennisreimann commented 1 month ago

Updates the CI action modules and adds a new action to fix #224. In addition to this, the spec repo needs this GitHub Action added as .github/workflows/dispatch-update.yml:

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

Both repositories will need to get defined a personal access token with repo scope as PAT in the repositories secrets.

netlify[bot] commented 1 month ago

Deploy Preview for startling-capybara-2231ea ready!

Name Link
Latest commit 70404b51f52aa4f2d52642ecb0453f14926f23e8
Latest deploy log https://app.netlify.com/sites/startling-capybara-2231ea/deploys/66d314f9f022fd0008578c55
Deploy Preview https://deploy-preview-229--startling-capybara-2231ea.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.