Merge pull request #1 from lorenz234/git-push #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger Spellbook Deploy to update the spellbook site | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
notify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create a repository dispatch event to dune spellbook-deploy | |
run: | | |
gh api repos/duneanalytics/spellbook-deploy/dispatches \ | |
--raw-field event_type=spellbook-updated |