From 4b75d550eaf40d07730eadd7a2d9103de28f030d Mon Sep 17 00:00:00 2001 From: Salakar Date: Tue, 5 May 2020 11:05:12 +0100 Subject: [PATCH] chore: tweak GH Action to only publish if tag present [skip-ci] --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b50adc9c..0ce865ed 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,7 +7,7 @@ on: jobs: publish_npm: - if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" + if: "contains(toJSON(github.event.commits.*.message), '[publish]')" name: 'NPM' timeout-minutes: 5 runs-on: ubuntu-latest