try gh pages workflow
Signed-off-by: Alex J <odyssey346@disroot.org>
This commit is contained in:
parent
88ac6347c6
commit
9753f561b7
23
.github/workflows/gh-pages-build.yml
vendored
Normal file
23
.github/workflows/gh-pages-build.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
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@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 }}
|
||||
CONFIG_FILE: mkdocs.yml
|
||||
EXTRA_PACKAGES: build-base
|
||||
# GITHUB_DOMAIN: github.myenterprise.com
|
||||
REQUIREMENTS: requirements.txt
|
Loading…
Reference in New Issue
Block a user