From 3e3ebe586385a83b10c8f1d0b9ba9b67c8b56d2f Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 20 Nov 2024 01:17:40 -0500 Subject: New upstream version 2.0.0. --- .github/workflows/docs_publish.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/docs_publish.yml (limited to '.github/workflows/docs_publish.yml') diff --git a/.github/workflows/docs_publish.yml b/.github/workflows/docs_publish.yml new file mode 100644 index 0000000..af146b2 --- /dev/null +++ b/.github/workflows/docs_publish.yml @@ -0,0 +1,32 @@ +name: build and publish docs + +on: + push: + tags: + - "v*" + branches: # for testing + - main + +jobs: + build: + name: build and publish docs + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Python 3.12 + uses: actions/setup-python@v5.3.0 + with: + python-version: 3.12 + + - name: Install sphinx + run: pip install sphinx + + - name: Build docs + run: cd docs && make html + + - name: Publish docs to GitHub Pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: docs/build/html -- cgit v1.2.3