Skip to content

Commit f63b5f9

Browse files
Build docs always, but only deploy docs when creating tags (#47)
1 parent e6b3162 commit f63b5f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-docs.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
types: [created]
55
push:
66
branches:
7-
- master
7+
- '**'
88
tags:
99
- '**'
1010
jobs:
@@ -24,6 +24,7 @@ jobs:
2424
path: ./docs/build
2525

2626
deploy:
27+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
2728
permissions:
2829
pages: write
2930
id-token: write

0 commit comments

Comments
 (0)