Update config.yml

This commit is contained in:
Ishaan Jaff 2023-08-01 16:14:16 -07:00 committed by GitHub
parent 1fa1e6e425
commit 638ba5f1a1

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: