Update version and changelog for upcoming v0.11.1 release. (#514) #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |