File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 6666 # ===================
6767
6868 build_pages :
69+ # Trigger this step only when a commit on master is tagged with a version number
6970 if : |
7071 github.event_name == 'push' &&
71- startsWith(github.ref, 'refs/heads/release/ ')
72+ startsWith(github.ref, 'refs/tags/v ')
7273
7374 runs-on : ubuntu-latest
7475 steps :
@@ -99,9 +100,10 @@ jobs:
99100
100101 # Publish the package to npm and Github Pages when a release branch is pushed
101102 publish :
103+ # Trigger this step only when a commit on master is tagged with a version number
102104 if : |
103105 github.event_name == 'push' &&
104- startsWith(github.ref, 'refs/heads/release/ ')
106+ startsWith(github.ref, 'refs/tags/v ')
105107
106108 needs : [lint, build_cli, build_pages]
107109
You can’t perform that action at this time.
0 commit comments