bumped version #12
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: Build and publish docs | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "main" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
# TODO cache rye installation | |
- name: Install rye | |
run: curl -sSf https://rye-up.com/get | RYE_INSTALL_OPTION="--yes" bash | |
- name: Install project and its dependencies | |
run: ~/.rye/shims/rye sync --no-lock | |
- name: Build and deploy docs | |
run: ~/.rye/shims/rye run mkdocs gh-deploy --force |