Skip to content

Add GitHub workflow to rebuild site on commit/push #1

Add GitHub workflow to rebuild site on commit/push

Add GitHub workflow to rebuild site on commit/push #1

Workflow file for this run

name: Publish docs via GitHub Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: pip install mkdocs # or 'mkdocs-material'
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force