From 7835d838b37a5d4f1c7e10d943f5cb413656c2e0 Mon Sep 17 00:00:00 2001 From: Jimmy Briggs Date: Sun, 10 Mar 2024 21:13:59 -0400 Subject: [PATCH] feat: add MkDocs GHA --- .github/workflows/publish-docs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/publish-docs.yml diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml new file mode 100644 index 0000000..09d15ca --- /dev/null +++ b/.github/workflows/publish-docs.yml @@ -0,0 +1,24 @@ +name: Publish Docs +on: + push: + branches: + - main + +jobs: + build: + name: Deploy Docs + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Deployment + uses: mhausenblas/mkdocs-deploy-gh-pages@master + # Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CUSTOM_DOMAIN: docs.noclocks.dev/operations + CONFIG_FILE: mkdocs.yml + REQUIREMENTS: requirements.txt