From f8d7603d2e4bd1a68acdc59b67b0e77b727a1c97 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sat, 14 Sep 2024 22:10:10 +0200 Subject: [PATCH 1/2] Update deploy action to not trigger on pull requests --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 55601af..2511ed7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest if: | github.event.workflow_run.conclusion == 'success' && - github.event.workflow_run.event == 'push' + (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') steps: - uses: actions/checkout@v4 From 756040e5eafaf1672577760ce8132e5d0672bb71 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sun, 15 Sep 2024 13:26:44 +0200 Subject: [PATCH 2/2] Update deploy action --- .github/workflows/deploy.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2511ed7..aa600d5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,9 +12,7 @@ env: jobs: deploy: runs-on: ubuntu-latest - if: | - github.event.workflow_run.conclusion == 'success' && - (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') + if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.event == 'push' }} steps: - uses: actions/checkout@v4