We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41375b3 commit 5f7189dCopy full SHA for 5f7189d
.github/workflows/update-docs.yml
@@ -87,4 +87,9 @@ jobs:
87
restore-keys: |
88
mkdocs-material-
89
- run: pip install -r .github/workflows/mkdocs/requirements.txt
90
- - run: mkdocs gh-deploy --force -c -b gh-pages
+ - name: Build and deploy docs (main branch)
91
+ if: github.ref == 'refs/heads/main'
92
+ run: mkdocs gh-deploy --force -c -b gh-pages
93
+ - name: Build docs only (other branches)
94
+ if: github.ref != 'refs/heads/main'
95
+ run: mkdocs build
0 commit comments