First version of a Golang version of command handling in general. (#118) #116
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: Publish Staging Push Event | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- staging | |
jobs: | |
publish_event: | |
runs-on: ubuntu-latest | |
name: Publish staging push | |
steps: | |
- run: | | |
curl -i \ | |
-X POST \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
-H "Authorization: token ${{ secrets.PUBLISH_PUSH_TOKEN }}" \ | |
https://api.github.com/repos/awalsh128/cache-apt-pkgs-action-ci/dispatches \ | |
-d '{"event_type":"staging_push"}' |