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