Only deploy once merged/directly pushed to master
@@ -152,7 +152,7 @@ matrix:
SETUP_CMD='' EVENT_TYPE='push pull_request'
- stage: deploy
- env: SETUP_CMD='sdist'
+ env: SETUP_CMD='sdist' EVENT_TYPE='push'
deploy:
provider: pypi
user: astroquery
