Skip to content

✨ Feature: disable lazy loading with env flag (#262) #187

✨ Feature: disable lazy loading with env flag (#262)

✨ Feature: disable lazy loading with env flag (#262) #187

Workflow file for this run

name: Docs CI/CD
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Python environment
uses: ./.github/actions/setup-python
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ hashfiles('.cache/**') }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Build Docs
run: |
uv run mkdocs --version
uv run mkdocs build --clean
chmod -c -R +rX "site/" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
env:
MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.GITHUB_TOKEN }}
- name: Upload to GitHub Pages
uses: actions/upload-pages-artifact@v4
with:
path: site
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4