From 1f7c88a1a135b46e0726708a7eecc91d07c00922 Mon Sep 17 00:00:00 2001 From: SooluThomas Date: Wed, 14 Feb 2024 20:27:07 -0500 Subject: [PATCH] Add deploy docs workflow --- .github/workflows/deploy_docs.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/deploy_docs.yaml diff --git a/.github/workflows/deploy_docs.yaml b/.github/workflows/deploy_docs.yaml new file mode 100644 index 0000000..67fc02c --- /dev/null +++ b/.github/workflows/deploy_docs.yaml @@ -0,0 +1,30 @@ +name: Deploy mkdocs + +on: + push: + branches: + - main + # This is just for testing purposes and needs to be removed + # before merge + pull_request: + types: + - opened + - synchronize + +env: + PYTHON_VERSION: "3.10" + +jobs: + deploy-docs: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + + - name: Install Python + uses: actions/setup-python@v4 + with: + python-version: ${{ env.PYTHON_VERSION }} + + - name: Build and deploy docs + run: mkdocs gh-deploy