docs(chore): sample publishing config

This commit is contained in:
Than Harrison 2025-03-17 05:45:43 -04:00
parent 75568fc90f
commit dc786a2bcd
No known key found for this signature in database

20
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- mkdocs-rebuild
jobs:
build:
name: Publish the Hitchhiker's Guide
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: anonymousplanet.org