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] 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