Skip to content

Commit 379643e

Browse files
committed
only deploy on main
1 parent dfa49cc commit 379643e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish_docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
with:
2424
path: 'generated-pages'
2525
deploy:
26+
if: github.ref == 'refs/heads/main'
2627
environment:
2728
name: 'github-pages'
2829
url: '${{ steps.deployment.outputs.page_url }}'

0 commit comments

Comments
 (0)