except #771
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
deploy: | |
name: 'Deploy Documentation' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- run: git config user.name XB500 | |
- run: git config user.email [email protected] | |
- run: git fetch origin gh-pages --depth=1 | |
- run: pip install --upgrade mkdocs-material mike termynal pdoc markdownify | |
- run: pip install --upgrade orso | |
- run: pdoc orso --no-show-source --mermaid --no-search -t ./template -o ./docs/get-started/ecosystem/orso | |
- run: markdownify ./docs/get-started/ecosystem/orso/orso.html > ./docs/get-started/ecosystem/orso/orso.md | |
# keep five versions | |
# - run: mike delete "0.11.0" | |
# - run: mike delete "0.12.0" | |
# - run: mike delete "0.12.2" | |
# # this should match the version | |
# - run: mike delete latest | |
# - run: mike deploy -p "0.19.0" latest | |
# - run: mike delete dev | |
- run: mike deploy -p "0.20.0" dev |