chore: tweak GH Action to only publish if tag present

[skip-ci]
This commit is contained in:
Salakar
2020-05-05 11:05:12 +01:00
parent 9c5a3d4813
commit 4b75d550ea

View File

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