Skip to content

willbakst is building the docs #27

willbakst is building the docs

willbakst is building the docs #27

Workflow file for this run

name: ci
run-name: ${{ github.actor }} is building the docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
cache-dependency-path: "./client/pnpm-lock.yaml"
- name: Install dependencies
working-directory: ./client
run: pnpm install
- name: Build client
working-directory: ./client
run: pnpm run build:notypescript
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/0.4.6/install.sh | sh
- name: Set up Python
run: uv python install 3.10
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: uv run mkdocs gh-deploy --force