Skip to content

Commit 730e602

Browse files
committed
fix(ci): only deploy GitHub Pages from main/master branches
1 parent 6c18e48 commit 730e602

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
deploy:
3636
needs: docs
3737
runs-on: ubuntu-24.04
38+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
3839
environment:
3940
name: github-pages
4041
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)