Skip to content

Use the app's colours instead of a stock Material palette #2

Use the app's colours instead of a stock Material palette

Use the app's colours instead of a stock Material palette #2

Workflow file for this run

name: Build and deploy documentation
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- run: pip install -r requirements.txt
# --strict fails the build on broken internal links and bad nav entries.
- run: mkdocs build --strict
- uses: actions/upload-pages-artifact@v3
if: github.ref == 'refs/heads/main'
with:
path: site
deploy:
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4