From 132c8961e87cb8b165db8d43769acaacd81eca01 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Wed, 28 Jan 2026 21:37:21 +1300 Subject: [PATCH] add workflow to build and deploy docs to github pages --- .github/workflows/github-pages.yml | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/github-pages.yml diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml new file mode 100644 index 00000000..b5b742f5 --- /dev/null +++ b/.github/workflows/github-pages.yml @@ -0,0 +1,32 @@ +name: Build and deploy Docs site to GitHub Pages + +on: + push: + branches: + - main + +permissions: + contents: write + +jobs: + github-pages: + runs-on: ubuntu-latest + steps: + + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Setup Python + uses: actions/setup-python@v5 + with: + ruby-version: 3.x + + - name: Configure Git Credentials + run: | + git config user.name github-actions[bot] + git config user.email 41898282+github-actions[bot]@users.noreply.github.com + + - name: Build and Deploy + run: | + pip install mkdocs-material + mkdocs gh-deploy --force