From 5336360dd353a58de8d329274f5ecece0ac6b209 Mon Sep 17 00:00:00 2001 From: Ryan Morshead Date: Mon, 17 Jul 2023 13:43:40 -0600 Subject: [PATCH] Publish docs via GH actions (#22) * Publish docs via GH actions * Update publish-docs.yaml --- .github/workflows/publish-docs.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/publish-docs.yaml diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml new file mode 100644 index 0000000..2d6aa80 --- /dev/null +++ b/.github/workflows/publish-docs.yaml @@ -0,0 +1,21 @@ +name: publish-docs + +on: + push: + branches: + - main + +jobs: + build: + name: Deploy docs + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v2 + - name: Deploy docs + # Use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to exclude mkdocs-material theme + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CONFIG_FILE: docs/mkdocs.yml + REQUIREMENTS: requirements/build-docs.txt