cache-apt-pkgs-action/.github/workflows/pub_master_push_event.yml

19 lines
510 B
YAML
Raw Normal View History

2021-10-17 20:06:35 +00:00
name: Publish Master Push Event
on:
workflow_dispatch:
push:
branches:
- master
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":"master_push"}'