Skip to content

Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.0 #136

Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.0

Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.0 #136

Workflow file for this run

name: Build and publish to PyPI if tagged
on: push
jobs:
build-n-publish:
name: Build and publish to PyPI if tagged
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install pypa/build
run: >-
python -m
pip install
build
- name: Build a source tarball
run: >-
python -m
build
--sdist
--outdir dist/
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}