From 251785384a7313c06a90cc678728f7e8ea0ef065 Mon Sep 17 00:00:00 2001 From: Ty Tuff Date: Wed, 17 Apr 2024 14:15:11 -0600 Subject: [PATCH] yml --- .github/workflows/gh-pages.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/gh-pages.yml diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 0000000..71f39e6 --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,21 @@ + name: Publish docs via GitHub + on: + push: + branches: + - main + + jobs: + build: + name: Deploy docs + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.9 + - name: run requirements file + run: pip install -r requirements.txt + - name: Deploy docs + run: mkdocs gh-deploy --force + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}