From 2764b48693ed382bc01a2cb7aab282dbf95cd9ee Mon Sep 17 00:00:00 2001 From: mauwii Date: Wed, 14 Sep 2022 01:15:33 +0200 Subject: [PATCH] add mkdocs workflow --- .github/workflows/mkdocs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/mkdocs.yml diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml new file mode 100644 index 0000000000..67add2f88d --- /dev/null +++ b/.github/workflows/mkdocs.yml @@ -0,0 +1,24 @@ +name: Deploy +on: + push: + branches: + - mkdocs +jobs: + build: + name: Deploy docs to GitHub Pages + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Build + uses: Tiryoh/actions-mkdocs@v0 + with: + mkdocs_version: 'latest' # option + #mkdocs_version: '1.1' # option + requirements: 'docs/requirements.txt' # option + configfile: 'mkdocs.yml' # option + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./site