Skip to content

Update version and changelog for upcoming v0.11.1 release. (#514) #40

Update version and changelog for upcoming v0.11.1 release. (#514)

Update version and changelog for upcoming v0.11.1 release. (#514) #40

Workflow file for this run

---
name: Publish Python 🐍 distributions πŸ“¦ to PyPI and TestPyPI
on: # NOLINT
push:
tags:
- '*'
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions πŸ“¦ to PyPI and TestPyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/statick
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install tools
run: |
pip install .[docs]
- name: Build a binary wheel and a source tarball
run: |
pip install -q build
python -m build
- name: Publish distribution πŸ“¦ to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Sphinx lint
uses: ammaraskar/sphinx-action@master
with:
docs-folder: 'docs/'
- name: Publish documentation
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html
publish_branch: gh-pages