diff options
| author | 2024-11-20 01:17:41 -0500 | |
|---|---|---|
| committer | 2024-11-20 01:17:41 -0500 | |
| commit | eab0e07b2d9931aa35f243fd24c42c02a4ec8533 (patch) | |
| tree | 767a0da67d0a1cd8ce30db0ad0c800e17380b4cf /.github/workflows/docs_publish.yml | |
| parent | 6094eb734bfd2159d81ffea918ea5d31e1e61441 (diff) | |
| parent | 3e3ebe586385a83b10c8f1d0b9ba9b67c8b56d2f (diff) | |
Update upstream source from tag 'upstream/2.0.0'
Update to upstream version '2.0.0'
with Debian dir a538d4b69c2b9e7ec310387046aa40f0e2499b5f
Diffstat (limited to '.github/workflows/docs_publish.yml')
| -rw-r--r-- | .github/workflows/docs_publish.yml | 32 |
1 files changed, 32 insertions, 0 deletions
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 |
