Merge pull request #188 from Kaiserreich/master #151
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: Create a repository dispatch for cwtools/cwtools-cache-files | |
on: push | |
jobs: | |
hoi4_dispatch: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.CWTOOLSBOT_TOKEN }} | |
steps: | |
- run: | | |
curl --fail -u "[email protected]:${GITHUB_TOKEN}" -X POST https://api.github.com/repos/cwtools/cwtools-cache-files/dispatches \ | |
-H 'Accept: application/vnd.github.everest-preview+json' \ | |
--data "{\"event_type\": \"build-cache-hoi4\"}" |