Update publish conditions.

This commit is contained in:
awalsh128 2021-10-16 10:19:02 -07:00
parent c8e67dd896
commit 7c507492e5

View file

@ -1,7 +1,7 @@
name: Publish Staging Pull Request name: Publish Staging Push Event
on: on:
workflow_dispatch: workflow_dispatch:
pull_request: push:
branches: branches:
- staging - staging
@ -16,4 +16,4 @@ jobs:
-H "Accept: application/vnd.github.v3+json" \ -H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.TRIGGER_PUBLISH_STAGING_PR_TOKEN }}" \ -H "Authorization: token ${{ secrets.TRIGGER_PUBLISH_STAGING_PR_TOKEN }}" \
https://api.github.com/repos/awalsh128/cache-apt-pkgs-action-ci/dispatches \ https://api.github.com/repos/awalsh128/cache-apt-pkgs-action-ci/dispatches \
-d '{"event_type":"staging_pull_request"}' -d '{"event_type":"staging_push"}'