Skip to content

docs: replace sphinx-rtd-theme with sphinx-book-theme (#505) #1447

docs: replace sphinx-rtd-theme with sphinx-book-theme (#505)

docs: replace sphinx-rtd-theme with sphinx-book-theme (#505) #1447

Workflow file for this run

on: [push, pull_request]
name: Release to pypi
jobs:
release-to-pypi:
name: Release to pypi
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.x
architecture: x64
- name: Install dependencies
run: python -m pip install build
- run: python -m build
- name: Publish a Python distribution to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true