From 2c46a9b78aa4d94327ebb5432e70208ad9236800 Mon Sep 17 00:00:00 2001 From: altf4arnold Date: Sat, 11 May 2024 02:32:30 +0200 Subject: [PATCH] updating workflows --- .github/workflows/deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 80bf58c..af0813b 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -11,7 +11,7 @@ on: jobs: deploy_after_master_push: runs-on: ubuntu-latest - if: github.event.workflow_run.conclusion == 'success' + if: github.ref == 'refs/heads/master' && github.event_name == 'push' && github.event.workflow_run.conclusion == 'success' steps: - name: Checkout Repository uses: actions/checkout@v2