summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2021-05-08 15:42:27 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2021-05-08 20:10:39 +0200
commit44fab3e5f6096c4e3de10b67873443d1cbf9a390 (patch)
tree5ed637e6763707f9541954fefe60629d34b620a0
parentb04240cbd90618a7e422d71ea92e58da0cbecc8d (diff)
add GitHub Action
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-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