Skip to content

v0.1 pyos sphinx theme #2

v0.1 pyos sphinx theme

v0.1 pyos sphinx theme #2

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [published]
jobs:
build-test:
uses: ./.github/workflows/build-test.yml
publish:
needs: [build-test]
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.11" ]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install 'sphinx-theme-builder[cli]'
- name: Build theme
run: stb package
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1