From 0e9a442a16a96d911ee84a0c0d1ce3602d2d271e Mon Sep 17 00:00:00 2001 From: Dillon Stadther Date: Sat, 14 Oct 2023 20:21:04 -0400 Subject: [PATCH] add gh-pages doc deployment --- .github/workflows/docs.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..6a73147 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,30 @@ +name: docs + +on: + push: + branches: [ master ] + + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v4 + with: + python-version: 3.x + + - name: "Configure git" + run: | + git config user.name "CICD" + git config user.email "cicd@github.com" + + - name: "Install dependencies" + run: | + curl -sSL https://install.python-poetry.org | python3 - --version 1.6.1 + poetry install + + - name: "Build mkdocs" + run: make doc-deploy