Skip to content

Upgrade PBS, deps and actions. (#58) #23

Upgrade PBS, deps and actions. (#58)

Upgrade PBS, deps and actions. (#58) #23

Workflow file for this run

name: Deploy Doc Site
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- name: Setup Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Setup Nox
run: pip install nox
- name: Checkout Lift
uses: actions/checkout@v4
- name: Build Doc Site
env:
# N.B.: This makes default paths in generated docs generic.
XDG_CACHE_HOME: "<USER CACHE DIR>"
run: nox -e doc linkcheck
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "docs/build/html/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4