From 1011e06bd86810a7a908dab6a82a4a878d0bd7a0 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sun, 31 May 2020 22:27:02 +0200 Subject: [PATCH] Fix Github workflow [skip ci] --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 071d15e7..0e89e557 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -330,9 +330,8 @@ jobs: name: babashka-${{ steps.babashka-version.outputs.version }}-macos-amd64.zip deploy: - if: "!contains(github.event.head_commit.message, 'skip ci')" + if: "!contains(github.event.head_commit.message, 'skip ci') and github.event_name == 'push' && github.ref == 'refs/heads/master'" needs: [jvm, linux, linux-static, mac] - if: github.event_name == 'push' && github.ref == 'refs/heads/master' runs-on: ubuntu-18.04 steps: - name: Git checkout @@ -358,9 +357,8 @@ jobs: .github/script/deploy docker: - if: "!contains(github.event.head_commit.message, 'skip ci')" + if: "!contains(github.event.head_commit.message, 'skip ci') and github.event_name == 'push' && github.ref == 'refs/heads/master'" needs: [jvm, linux, linux-static, mac] - if: github.event_name == 'push' && github.ref == 'refs/heads/master' runs-on: ubuntu-18.04 steps: - name: Git checkout