File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,29 +17,23 @@ jobs:
1717 url : ${{steps.deployment.outputs.page_url}}
1818 runs-on : ubuntu-latest
1919 steps :
20- - name : Set up environment
21- run : |
22- echo "$HOME/.local/bin" >> "$GITHUB_PATH"
23- echo "PLANO_COLOR=1" >> "$GITHUB_ENV"
24- pip install build wheel
25- - name : Install Plano
26- run : |
27- curl -sfL https://github.com/ssorj/plano/archive/main.tar.gz | tar -xz
28- cd plano-main && make install
29- - name : Install Transom
30- run : |
31- curl -sfL https://github.com/ssorj/transom/archive/main.tar.gz | tar -xz
32- cd transom-main && ./plano install
3320 - uses : actions/checkout@v4
21+ - name : Set up Python
22+ uses : actions/setup-python@v5
23+ with :
24+ python-version : ' 3.x'
25+ cache : ' pip'
26+ - name : Install MkDocs and dependencies
27+ run : |
28+ pip install -r requirements.txt
3429 - uses : actions/configure-pages@v4
35- - name : Render site output
30+ - name : Build site with MkDocs
3631 run : |
37- ./plano render
32+ mkdocs build --strict
3833 env :
39- SITE_PREFIX : /skupper-docs
40- PLANO_COLOR : 1
34+ SITE_URL : https://skupperproject.github.io/skupper-docs/
4135 - uses : actions/upload-pages-artifact@v3
4236 with :
43- path : output
37+ path : output/docs
4438 - uses : actions/deploy-pages@v4
4539 id : deployment
Original file line number Diff line number Diff line change 11site_name : Skupper Documentation
2- site_url : https ://skupper.io/docs/
2+ site_url : !ENV [SITE_URL, 'http ://localhost:8000']
33docs_dir : input
44site_dir : output/docs
55
You can’t perform that action at this time.
0 commit comments