mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-05-07 18:37:42 +08:00
chore: tweak GH Action to only publish if tag present
[skip-ci]
This commit is contained in:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user