From 79e469fd335133671185cf8539f77ef38ac3b4e6 Mon Sep 17 00:00:00 2001 From: Benjamin Brahmer Date: Sat, 8 May 2021 14:34:58 +0200 Subject: Refactor News documentation with mkdocs and mkdocs-material - move all pages to new structure - use gh-pages to host html version - use github actions for automatic build Co-authored-by: anoy Signed-off-by: Benjamin Brahmer --- .github/workflows/documentation.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/documentation.yml (limited to '.github/workflows') 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 -- cgit v1.2.3