diff --git a/.github/workflows/docs-publish.yml b/.github/workflows/docs-publish.yml new file mode 100644 index 0000000..60f6502 --- /dev/null +++ b/.github/workflows/docs-publish.yml @@ -0,0 +1,23 @@ +name: Publish Documentation to GitHub Pages + +on: + release: + types: [published] + +permissions: + contents: write + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + cache: 'pip' + + - name: Install dependencies + run: pip install ".[docs]" + + - run: mkdocs gh-deploy --force