Add mkdocs workflow

pull/102/head
Stéphane Busso 2020-12-11 08:49:32 +13:00
parent 221a9bc21d
commit 4ee0ef7d00
2 changed files with 21 additions and 0 deletions

20
.github/workflows/mkdocs.yml vendored Normal file
View File

@ -0,0 +1,20 @@
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: Build and Deploy Documentation using MkDocs
uses: Tangerine-Community/tangy-mkdocs-build-action@v1
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
CUSTOM_DOMAIN: docs.portainer.io
MKDOCS_VERSION: 1.1.2

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/site