mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2025-08-05 21:14:29 -04:00
docs(chore): sample publishing config
This commit is contained in:
parent
75568fc90f
commit
dc786a2bcd
1 changed files with 20 additions and 0 deletions
20
.github/workflows/publish.yml
vendored
Normal file
20
.github/workflows/publish.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue