Skip to content

Commit 6337a93

Browse files
authored
CI: Migrate to token auth when uploading to pypi [skip ci] (#203)
1 parent a4febd2 commit 6337a93

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.circleci/config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,12 @@ jobs:
633633
name: Upload packages to PyPI
634634
command: |
635635
python -m pip install --user twine
636-
python -m twine upload dist/nibabies* wrapper/dist/nibabies*
636+
# upload nibabies
637+
export TWINE_PASSWORD=$PYPI_NIBABIES_TOKEN
638+
python -m twine upload dist/nibabies*
639+
# upload wrapper
640+
export TWINE_PASSWORD=$PYPI_WRAPPER_TOKEN
641+
python -m twine upload wrapper/dist/nibabies*
637642
638643
deployable:
639644
docker:

0 commit comments

Comments
 (0)