Add mkdocs build action/workflow
This commit is contained in:
parent
a2e15690f5
commit
416fafae18
22
.github/mkdocs.yml
vendored
Normal file
22
.github/mkdocs.yml
vendored
Normal 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
|
@ -1,6 +1,3 @@
|
|||||||
site_name: PlayStation Specifications
|
site_name: PlayStation Specifications
|
||||||
|
|
||||||
theme: jekyll-theme-minimal
|
theme: jekyll-theme-minimal
|
||||||
|
|
||||||
- name: Deploy MkDocs
|
|
||||||
uses: mhausenblas/mkdocs-deploy-gh-pages@1.16
|
|
Loading…
x
Reference in New Issue
Block a user