From 787b1a1d864075dda006cec6360d57c4ba010c4f Mon Sep 17 00:00:00 2001 From: Jan Range Date: Tue, 17 Dec 2024 14:04:17 +0100 Subject: [PATCH] add docs workflow --- .github/workflows/docs.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..f3ec7b5 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,21 @@ +name: Build Docs + +on: + push: + paths: + - "docs/**" + workflow_dispatch: + +jobs: + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: actions/cache@v2 + with: + path: .cache + key: ${{ github.ref }} + - run: pip install mkdocs-material jupyter nbconvert mkdocs-jupyter + - run: mkdocs gh-deploy --force