test env stuff
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
431e0fa974
commit
47bdb1631b
14
.drone.yml
14
.drone.yml
|
@ -11,12 +11,12 @@ steps:
|
||||||
- poetry run pytest
|
- poetry run pytest
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
when:
|
# when:
|
||||||
branch:
|
# branch:
|
||||||
- master
|
# - master
|
||||||
event:
|
# event:
|
||||||
exclude:
|
# exclude:
|
||||||
- pull_request
|
# - pull_request
|
||||||
image: python:3.7
|
image: python:3.7
|
||||||
environment:
|
environment:
|
||||||
GITEA_PACKAGE_REPO:
|
GITEA_PACKAGE_REPO:
|
||||||
|
@ -28,7 +28,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- pip install poetry twine
|
- pip install poetry twine
|
||||||
- poetry build
|
- poetry build
|
||||||
- echo "[distutils]\nindex-servers = gitea\n\n[gitea]\nrepository = ${GITEA_PACKAGE_REPO}\nusername = ${GITEA_OWNER}\npassword = ${GITEA_TOKEN}" > ~/.pypirc
|
- echo "[distutils]\nindex-servers = gitea\n\n[gitea]\nrepository = $${GITEA_PACKAGE_REPO}\nusername = $${GITEA_OWNER}\npassword = $${GITEA_TOKEN}" > ~/.pypirc
|
||||||
- twine upload -r gitea ./dist/*.whl
|
- twine upload -r gitea ./dist/*.whl
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue