Skip to content

Commit 15e0b71

Browse files
authored
Merge pull request #45 from lucasimi/develop
Updated workflow to deploy on PYPI
2 parents 07fd4e2 + a75c490 commit 15e0b71

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,15 @@ jobs:
2323
run: |
2424
python -m build
2525
python -m twine check dist/*
26-
- name: Upload package to PyPI
26+
- name: Upload package to TestPyPI
2727
run: |
2828
python -m twine upload -r testpypi dist/* --verbose
29+
env:
30+
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME_TEST }}
31+
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD_TEST }}
32+
- name: Upload package to PyPI
33+
run: |
34+
python -m twine upload -r pypi dist/* --verbose
2935
env:
3036
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
3137
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}

0 commit comments

Comments
 (0)