From e71652e458a4c449d593eaef64d2ad353e9f20cd Mon Sep 17 00:00:00 2001 From: danilotat Date: Mon, 9 Sep 2024 13:10:18 +0200 Subject: [PATCH] CI for gh-pages --- .github/workflows/docs.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..799e9ae --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,22 @@ +name: docs +on: + push: + branches: + - docs +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: actions/cache@v2 + with: + key: ${{ github.ref }} + path: .cache + - run: pip install mkdocs-material + - run: pip install pillow cairosvg + - run: mkdocs gh-deploy --force