Skip to content

Commit 33e741b

Browse files
committed
Make sure the deployment stage only ocurrs in
1 parent cad4928 commit 33e741b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@ deployment:
4444
- source venv/bin/activate
4545
- pip install twine
4646
- python setup.py sdist
47-
- twine upload dist/* -u Stunts -p $pypi_password --repository-url https://test.pypi.org/legacy/
48-
# Make sure this only happens in `master`
47+
- twine upload dist/* -u Stunts -p $pypi_password --repository-url https://pypi.org/legacy/
48+
only:
49+
-master # Make sure this only happens in `master`

0 commit comments

Comments
 (0)