mirror of https://github.com/bonobonet/website.git
Add CI/CD
This commit is contained in:
parent
e22bdd5af1
commit
ac230ab7bf
|
@ -0,0 +1,24 @@
|
|||
name: Publish docs via GitHub Pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Deploy docs
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout master
|
||||
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: bnet.eu.org
|
||||
CONFIG_FILE: mkdocs.yml
|
||||
EXTRA_PACKAGES: build-base
|
||||
# GITHUB_DOMAIN: github.myenterprise.com
|
||||
REQUIREMENTS: requirements.txt
|
|
@ -0,0 +1,8 @@
|
|||
mkdocs==1.4.1
|
||||
mkdocs-blogging-plugin==2.2
|
||||
mkdocs-cinder==1.2.0
|
||||
mkdocs-custom-fences==0.1.2
|
||||
mkdocs-git-revision-date-plugin==0.3.2
|
||||
mkdocs-material==8.5.6
|
||||
mkdocs-material-extensions==1.0.3
|
||||
mkdocs-print-site-plugin==2.3.4
|
Loading…
Reference in New Issue