Skip to content

Merge pull request #686 from uhh-lt/tanstack-router #18

Merge pull request #686 from uhh-lt/tanstack-router

Merge pull request #686 from uhh-lt/tanstack-router #18

Workflow file for this run

name: publish-docs
on:
push:
branches:
- main
# Ensure docs are published when changes are made to documentation files or the workflow itself
paths:
- "docs/**"
- ".github/workflows/publish_docs.yml"
- "mkdocs.yml"
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6.3.0
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v6.1.0
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force