Skip to content

Bump JamesIves/github-pages-deploy-action from 4.6.8 to 4.6.9 #188

Bump JamesIves/github-pages-deploy-action from 4.6.8 to 4.6.9

Bump JamesIves/github-pages-deploy-action from 4.6.8 to 4.6.9 #188

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 }}