Update publish conditions.
This commit is contained in:
parent
c8e67dd896
commit
7c507492e5
1 changed files with 3 additions and 3 deletions
|
@ -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"}'
|
Loading…
Reference in a new issue