20 lines
498 B
YAML
20 lines
498 B
YAML
|
name: Publish Dev Push Event
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
push:
|
||
|
branches:
|
||
|
- dev
|
||
|
|
||
|
jobs:
|
||
|
publish_event:
|
||
|
runs-on: ubuntu-latest
|
||
|
name: Publish dev 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":"dev_push"}'
|