mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 18:55:30 +00:00
Create pub_dev_push_event.yml
This commit is contained in:
parent
4cc899ce9b
commit
b229047610
19
.github/workflows/pub_dev_push_event.yml
vendored
Normal file
19
.github/workflows/pub_dev_push_event.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
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"}'
|
Loading…
Reference in a new issue