summaryrefslogtreecommitdiffstats
path: root/.github/workflows/documentation.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/documentation.yml')
-rw-r--r--.github/workflows/documentation.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml
new file mode 100644
index 000000000..409fb4da8
--- /dev/null
+++ b/.github/workflows/documentation.yml
@@ -0,0 +1,23 @@
+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: optionaldomain.com
+ #CONFIG_FILE: folder/mkdocs.yml
+ #EXTRA_PACKAGES: build-base
+ # GITHUB_DOMAIN: github.myenterprise.com \ No newline at end of file