From 6564bbd58e7b7e6d8f6cb2adc167c5c8c5ace551 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sun, 8 Feb 2026 13:00:59 +1300 Subject: [PATCH] migrate docs build script so cname survives --- .github/workflows/github-pages.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index e1ef2238..a3f53e3f 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -23,12 +23,15 @@ jobs: 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 + - name: Build run: | pip install mkdocs-material - mkdocs gh-deploy --force + mkdocs build + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + cname: docs.meshcore.nz + publish_dir: ./site + publish_branch: 'gh-pages'