Fix Github workflow [skip ci]

This commit is contained in:
Michiel Borkent 2020-05-31 22:27:02 +02:00
parent 4403a477ab
commit 1011e06bd8

View file

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