File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,16 @@ stages:
1010jobs :
1111 include :
1212 - stage : test
13- install :
14- - pip install --upgrade pip
15- - pip install poetry
16- - poetry install -v
1713 script :
14+ - poetry install -v
1815 - pytest
1916 - stage : deploy
2017 script :
21- - echo Deploying to PyPI...
18+ - poetry config pypi-token.pypi $PYPI_TOKEN
19+ - poetry build
20+ - poetry publish
2221
23- before_deploy :
24- # User and password environment variables are set as hidden variables through
25- # the web interface in the project settings.
22+ install :
2623 - pip install --upgrade pip
2724 - pip install poetry
28- - poetry config pypi-token.pypi $PYPI_TOKEN
29- - poetry build
3025
31- deploy :
32- provider : script
33- script : poetry publish
34- skip_cleanup : true
You can’t perform that action at this time.
0 commit comments