Skip to content

Commit a77e526

Browse files
committed
Only publish docs on release
1 parent e9d8c12 commit a77e526

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: .github/workflows/docs.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ name: Deploy Docs
33
on:
44
workflow_dispatch: {}
55
push:
6-
branches: [main]
6+
tags:
7+
- 'v*'
78

89
jobs:
910
deploy:
1011
runs-on: ubuntu-latest
12+
if: github.ref == 'refs/heads/main'
1113
permissions:
1214
pages: write
1315
id-token: write

0 commit comments

Comments
 (0)