From b229047610d2c1ab53992953a8fb34360de83c31 Mon Sep 17 00:00:00 2001 From: Andrew Walsh Date: Sat, 26 Mar 2022 12:53:58 -0700 Subject: [PATCH] Create pub_dev_push_event.yml --- .github/workflows/pub_dev_push_event.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pub_dev_push_event.yml diff --git a/.github/workflows/pub_dev_push_event.yml b/.github/workflows/pub_dev_push_event.yml new file mode 100644 index 0000000..3600112 --- /dev/null +++ b/.github/workflows/pub_dev_push_event.yml @@ -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"}'