From f0324456e140d14ed0ea6eac4218e7ef80b7de86 Mon Sep 17 00:00:00 2001 From: Torsten Friebe Date: Tue, 21 Nov 2023 18:05:49 +0100 Subject: [PATCH] #928 fix condition in deploy job --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 213583f..3a365a8 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -30,7 +30,7 @@ jobs: name: sep3-parser path: target/sep3-parser-*-jar-with-dependencies.jar deploy: - if: github.ref.name == 'main' + if: success() && github.ref_name == 'main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4