Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

chore(copier): update from template (#126) #539

chore(copier): update from template (#126)

chore(copier): update from template (#126) #539

Workflow file for this run

# This file is @generated by <https://github.com/liblaf/copier-python>.
# DO NOT EDIT!
name: Docs
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 1
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- id: config
name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Set Environment Variables
run: echo 'SITE_URL=${{ steps.config.outputs.base_url }}' >> "$GITHUB_ENV"
- name: Setup Python
uses: liblaf/actions/setup-python@v1
- if: hashFiles('docs/scripts/pre-build.sh') != ''
name: Pre-Build
run: docs/scripts/pre-build.sh
- name: Build
run: mkdocs build
- name: Upload Github Pages Artifact
uses: actions/upload-pages-artifact@v4
with:
path: site
deploy:
name: Deploy
permissions:
id-token: write
pages: write
needs:
- build
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- id: deploy
name: Deploy Github Pages Site
uses: actions/deploy-pages@v4