Skip to content

Update test workflow to fix coverage upload #34

Update test workflow to fix coverage upload

Update test workflow to fix coverage upload #34

Workflow file for this run

name: Make docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: "3.11"
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- name: Install dependencies
run: |
cd back
pdm install --dev --group docs
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: |
cd back
pdm run mkdocs gh-deploy --force