Skip to content

[WIP] Migrate to MkDocs #3

[WIP] Migrate to MkDocs

[WIP] Migrate to MkDocs #3

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- mkdocs # temporary
paths-ignore:
- README.md
- CONTRIBUTING.md
- CMakeLists.txt
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: fkirc/skip-duplicate-actions@v5
with:
cancel_others: 'true'
- uses: actions/checkout@v4
with:
fetch-depth: 0 # for the 'Last updated' timestamp
- name: Install requirements
run: pip install -r requirements.txt
- name: Build site
run: mkdocs build
- uses: crazy-max/ghaction-github-pages@v4
with:
build_dir: site
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}