From 65ef4f599f4d04dfeb8fefdcbc5b8fc974275e83 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Fri, 18 Dec 2020 15:54:10 +0900 Subject: [PATCH] Add a workflow for mkdocs --- .github/workflows/mkdocs-deployment.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/mkdocs-deployment.yml diff --git a/.github/workflows/mkdocs-deployment.yml b/.github/workflows/mkdocs-deployment.yml new file mode 100644 index 00000000..f6ebf4a7 --- /dev/null +++ b/.github/workflows/mkdocs-deployment.yml @@ -0,0 +1,18 @@ +name: Publish docs via GitHub Pages +on: + push: + branches: + - master + +jobs: + build: + name: Deploy docs + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v2 + - name: Deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CONFIG_FILE: mkdocs.yml