workflows: set up GitHub pages

Currently being built from a feature branch, we will switch to building
from main.
This commit is contained in:
Gerry Demaret 2023-05-18 13:43:05 +02:00
parent 1109aad016
commit 2afd3ee09d

22
.github/workflows/github-pages.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: publish docs
on:
push:
branches:
- feature/docs
jobs:
build:
name: deploy
runs-on: ubuntu-latest
steps:
- name: checkout main
uses: actions/checkout@v2
with:
ref: feature/docs
- name: deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: docs.adminerevo.org
EXTRA_PACKAGES: build-base