We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef9c8a4 commit 0d25316Copy full SHA for 0d25316
2 files changed
.github/workflows/docs.yml
@@ -4,6 +4,7 @@ on:
4
push:
5
branches:
6
- main
7
+ - feat/doc-site-update
8
paths:
9
- 'docs/**'
10
- 'mkdocs.yml'
@@ -39,11 +40,15 @@ jobs:
39
40
run: mkdocs build --clean
41
42
- name: Upload Pages artifact
43
+ # Only upload artifact when on main (Pages deploy only runs from main)
44
+ if: github.ref == 'refs/heads/main'
45
uses: actions/upload-pages-artifact@v3
46
with:
47
path: site/
48
49
deploy:
50
+ # Only deploy to GitHub Pages from main
51
52
needs: build
53
runs-on: ubuntu-latest
54
environment:
docs/overrides/.gitkeep
0 commit comments