File tree Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,29 @@ name: Deploy Docs
22on :
33 push :
44 branches : [main]
5+ permissions :
6+ contents : write
7+ pages : write
8+ id-token : write
59jobs :
610 build-and-deploy :
711 runs-on : ubuntu-latest
812 steps :
9- - uses : actions/checkout@v4
13+ - name : Checkout
14+ uses : actions/checkout@v4
1015 - name : Set up Python
1116 uses : actions/setup-python@v5
12- with : { python-version: '3.x' }
17+ with :
18+ python-version : ' 3.x'
1319 - name : Install dependencies
1420 run : pip install mkdocs mkdocs-material
15- - name : Build and deploy
16- run : mkdocs gh-deploy --force
21+ - name : Build site
22+ run : mkdocs build
23+ - name : Setup Pages
24+ uses : actions/configure-pages@v5
25+ - name : Upload artifact
26+ uses : actions/upload-pages-artifact@v3
27+ with :
28+ path : site
29+ - name : Deploy to GitHub Pages
30+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11site_name : MicroPythonOS Documentation
22site_url : https://docs.micropythonos.com
33repo_url : https://github.com/MicroPythonOS/MicroPythonOS
4+ use_directory_urls : true
45theme :
56 name : material
67 palette :
You can’t perform that action at this time.
0 commit comments