Skip to content

chore(copier): update from template #3

chore(copier): update from template

chore(copier): update from template #3

Workflow file for this run

# This file is @generated by <https://github.com/liblaf/copier-python>.
# DO NOT EDIT!
name: (Shared) Docs
on:
push:
jobs:
docs:
name: Docs
permissions:
contents: write
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-docs
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- if: hashFiles('pixi.lock') != ''
name: Setup Pixi
uses: prefix-dev/setup-pixi@v0
with:
run-install: true
activate-environment: true
locked: false
- if: hashFiles('uv.lock') != ''
name: Setup uv
uses: astral-sh/setup-uv@v5
- if: hashFiles('docs/scripts/prepare.sh') != ''
name: Prepare
run: docs/scripts/prepare.sh
- name: Build
run: mkdocs build
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: docs
path: site/
- if: github.ref == 'refs/heads/main'
name: Deploy
run: mkdocs gh-deploy --force --no-history