Skip to content

Commit 391f7ef

Browse files
committed
Build docs for all branches
1 parent c9dbc2e commit 391f7ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/docs.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Deploy Docs
22

33
on:
44
push:
5-
branches:
6-
- main
75

86
permissions:
97
contents: read
@@ -47,6 +45,7 @@ jobs:
4745

4846
# Deployment job
4947
deploy:
48+
if: ${{ github.ref == 'refs/heads/main' }}
5049
environment:
5150
name: github-pages
5251
url: ${{ needs.build.outputs.page_url }}

0 commit comments

Comments
 (0)