Skip to content

Commit ff938e3

Browse files
committed
trigger release on tags only
1 parent 09f3b7c commit ff938e3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/gh-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ name: Publish Book and Article as a GH Release
1515
# package.json: template/ (sed template->$(THEME) and VERSION->$(VERSION)
1616
# server.js: template/ (as-is from repo)
1717

18+
# Note: xxx this workflow does not publish to npm for now
19+
20+
# not triggering on branche pushes
21+
# note that this will trigger only once if tags are pushed in a batch
1822
on:
1923
push:
20-
branches: [ main ]
24+
# branches: [ main ]
2125
tags: [ '*' ]
2226

2327
jobs:

0 commit comments

Comments
 (0)