File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -16,33 +16,34 @@ concurrency:
1616 cancel-in-progress : true
1717
1818jobs :
19- build :
19+ build-deploy :
2020 runs-on : ubuntu-latest
21+ environment :
22+ name : github-pages
23+ url : ${{ steps.deployment.outputs.page_url }}
2124 steps :
2225 - name : Checkout
2326 uses : actions/checkout@v4
27+
2428 - name : Set up Python
2529 uses : actions/setup-python@v5
2630 with :
2731 python-version : " 3.x"
32+
2833 - name : Install dependencies
2934 run : pip install -r requirements.txt
35+
3036 - name : Configure Pages
3137 uses : actions/configure-pages@v5
38+
3239 - name : Build site
3340 run : mkdocs build --strict --site-dir dist
41+
3442 - name : Upload artifact
3543 uses : actions/upload-pages-artifact@v3
3644 with :
3745 path : dist
3846
39- deploy :
40- runs-on : ubuntu-latest
41- needs : build
42- environment :
43- name : github-pages
44- url : ${{ steps.deployment.outputs.page_url }}
45- steps :
4647 - name : Deploy to GitHub Pages
4748 id : deployment
4849 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments