Skip to content

Commit 65791b5

Browse files
authored
add live publish using tag publish* (#116)
1 parent 7bd6700 commit 65791b5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name: Build & Publish to GH Pages
1+
name: Build & Publish to GH-PAGES
22
on:
33
push:
4-
branches:
5-
- main
4+
tags:
5+
- 'publish*'
66
jobs:
77
publish:
8+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
89
runs-on: ubuntu-latest
910
steps:
1011
- name: Checkout

0 commit comments

Comments
 (0)