Merge pull request #28 from undefftr/main #17
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: Dispatch Event | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
dispatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger repository_dispatch | |
run: | | |
curl -X POST \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
-H "Authorization: token ${{ secrets.HUB_DEPLOY_PAT }}" \ | |
https://api.github.com/repos/ClassIsland/classisland-hub-web/dispatches \ | |
-d '{"event_type":"classisland_hub_update"}' |