Skip to content

Bump mkdocs-callouts from 1.14.1 to 1.15.0 #499

Bump mkdocs-callouts from 1.14.1 to 1.15.0

Bump mkdocs-callouts from 1.14.1 to 1.15.0 #499

Workflow file for this run

name: Build pages
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # full history
- name: Setup Python
uses: actions/setup-python@v5
id: setup-python
with:
python-version: '3.x'
- name: Install Python dependencies
run: |
pip install uv
uv pip install --system -r requirements.txt
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build website
env:
SITE_URL: ${{ steps.pages.outputs.base_url }}
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
REPO_NAME: ${{ github.repository }}
run: mkdocs build
- name: Upload page artifact
if: ${{ github.ref == 'refs/heads/main'}}
uses: actions/upload-pages-artifact@v3
with:
path: ./site
# Deployment job
deploy:
needs: build
if: ${{ github.ref == 'refs/heads/main' }}
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
actions: read # to download an artifact uploaded by `actions/upload-pages-artifact@v3`
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4