Skip to content

chore: a big update #249

chore: a big update

chore: a big update #249

Workflow file for this run

name: docs
on:
push:
branches:
- "main"
- "develop"
pull_request:
branches:
- "main"
- "develop"
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- run: curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1
- run: |
poetry install
- name: Deploy to GitHub Pages
if: github.ref_name == 'main'
run: poetry run mkdocs gh-deploy --force --strict
- name: Build Docs
if: github.ref_name != 'main'
run: poetry run mkdocs build --strict