From 7c507492e52cca22cd57b2b103fa4590881557bc Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Sat, 16 Oct 2021 10:19:02 -0700 Subject: [PATCH] Update publish conditions. --- .../{pub_staging_pr.yml => pub_staging_push_event.yml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{pub_staging_pr.yml => pub_staging_push_event.yml} (81%) diff --git a/.github/workflows/pub_staging_pr.yml b/.github/workflows/pub_staging_push_event.yml similarity index 81% rename from .github/workflows/pub_staging_pr.yml rename to .github/workflows/pub_staging_push_event.yml index 47458e2..23782ba 100644 --- a/.github/workflows/pub_staging_pr.yml +++ b/.github/workflows/pub_staging_push_event.yml @@ -1,7 +1,7 @@ -name: Publish Staging Pull Request +name: Publish Staging Push Event on: workflow_dispatch: - pull_request: + push: branches: - staging @@ -16,4 +16,4 @@ jobs: -H "Accept: application/vnd.github.v3+json" \ -H "Authorization: token ${{ secrets.TRIGGER_PUBLISH_STAGING_PR_TOKEN }}" \ https://api.github.com/repos/awalsh128/cache-apt-pkgs-action-ci/dispatches \ - -d '{"event_type":"staging_pull_request"}' \ No newline at end of file + -d '{"event_type":"staging_push"}' \ No newline at end of file