Skip to content

Commit ff8df1f

Browse files
Checking PROD token to minimize risks
1 parent 152abb6 commit ff8df1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ publish_prodpypi:
6464
when: manual
6565
dependencies:
6666
- run_tests
67+
rules:
68+
- if: $PyPI_API_token != null
6769
script:
6870
- ls dist/
6971
- sed -e "s~__password__~$PyPI_API_token~" .pypirc > $HOME/.pypirc

0 commit comments

Comments
 (0)