Add mkdocs build action/workflow

This commit is contained in:
kraptor 2021-01-13 18:21:33 +01:00
parent a2e15690f5
commit 416fafae18
2 changed files with 23 additions and 4 deletions

22
.github/mkdocs.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- main
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v1
- 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: optionaldomain.com
CONFIG_FILE: mkdocs.yml
EXTRA_PACKAGES: build-base

View File

@ -1,6 +1,3 @@
site_name: PlayStation Specifications
theme: jekyll-theme-minimal
- name: Deploy MkDocs
uses: mhausenblas/mkdocs-deploy-gh-pages@1.16
theme: jekyll-theme-minimal