From 4dd46c7c86389a67ac730ac3110077dc0b447bb2 Mon Sep 17 00:00:00 2001 From: Balduin Landolt <33053745+BalduinLandolt@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:23:21 +0100 Subject: [PATCH] docs: Publish API docs to github pages (#3407) --- .github/workflows/publish-docs.yml | 18 ++++++++++++++++++ 1 file changed, 18 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 0000000000..ad2358bfd0 --- /dev/null +++ b/.github/workflows/publish-docs.yml @@ -0,0 +1,18 @@ +name: publish docs + +on: + push: + branches: + - main + +jobs: + publish-docs: + name: Publish Docs to Github Pages + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REQUIREMENTS: docs/requirements.txt