File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 77 paths :
88 - ' docs/**'
99 - ' mkdocs.yml'
10+ - ' .github/workflows/docs.yml'
1011 pull_request :
1112 paths :
1213 - ' docs/**'
1314 - ' mkdocs.yml'
15+ - ' .github/workflows/docs.yml'
1416 release :
1517 types : [published]
1618 workflow_dispatch :
3436 - name : Install dependencies
3537 run : pip install "mkdocs-material>=9,<10" "mkdocs<2.0"
3638
39+ - name : Setup Pages
40+ if : github.event_name != 'pull_request'
41+ uses : actions/configure-pages@v4
42+
3743 - name : Build documentation
3844 run : mkdocs build --strict
3945
9399 name : github-pages
94100 url : ${{ steps.deployment.outputs.page_url }}
95101 steps :
96- - name : Configure GitHub Pages
97- uses : actions/configure-pages@v4
98-
99102 - name : Deploy to GitHub Pages
100103 id : deployment
101104 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments