mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2025-04-18 23:15:50 -04:00
docs(chore): sample publishing config
This commit is contained in:
parent
75568fc90f
commit
dc786a2bcd
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…
x
Reference in New Issue
Block a user