Forcing coercion to str when tabulating otherwise unknown objects (#19) #9
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: Forastero Documentation | |
on: | |
push: | |
branches: | |
- main | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages : write | |
id-token: write | |
# Allow only one concurrent deployment to GitHub pages, but don't cancel running | |
# builds and wait for completion | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
build_docs: | |
name : Build Documentation | |
runs-on : ubuntu-latest | |
timeout-minutes: 15 | |
steps : | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.11 | |
- name : Install Poetry and environment | |
shell: bash | |
run : | | |
python -m pip install --upgrade pip | |
python -m pip install poetry | |
poetry install --with dev | |
- name: Build documentation | |
run: | | |
poetry run mkdocs build | |
- name: Upload documentation artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: ./site | |
deploy_docs: | |
name : Deploy Documentation | |
runs-on : ubuntu-latest | |
timeout-minutes: 15 | |
needs : | |
- build_docs | |
steps : | |
- name: Deploy to GitHub pages | |
id: deployment | |
uses: actions/deploy-pages@v2 |