Update config.yml

This commit is contained in:
Ishaan Jaff 2023-08-01 16:14:16 -07:00 committed by GitHub
parent 7205fe1a16
commit 21cb9ad575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,9 @@ jobs:
PYPI_API_TOKEN: $PYPI_API_TOKEN # Use the environment variable in the job
steps:
- checkout
- attach_workspace:
at: ~/project
# Check if setup.py is modified and publish to PyPI
- run:
name: PyPI publish
@ -62,7 +64,11 @@ workflows:
jobs:
- local_testing
- persist_to_workspace:
root: ~/project
- publish_to_pypi:
requires:
- local_testing
filters:
branches:
only: