Skip to content

ci: bump actions/checkout from 5.1.0 to 7.0.1 #13

ci: bump actions/checkout from 5.1.0 to 7.0.1

ci: bump actions/checkout from 5.1.0 to 7.0.1 #13

Workflow file for this run

name: Docs
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install social card dependencies
run: sudo apt-get update && sudo apt-get install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
- run: uv sync --locked --group docs
- run: uv run mkdocs build --strict
env:
SOCIAL_CARDS: "true"
- if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v4
with:
path: site
deploy:
name: Deploy to GitHub Pages
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4