diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3464f37..8557eb6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,7 @@ on: jobs: deploy: runs-on: ubuntu-latest - if: ${{ (github.ref == 'refs/heads/master') && (! contains(toJSON(github.event.commits.*.msg), '[skip ci]')) }} + if: ${{ github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[skip ci]') }} steps: - name: Checkout uses: actions/checkout@v1