Upload pypi test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Marcel Nijenhof
2022-01-02 23:45:44 +01:00
parent 583997d64c
commit d0043f3f18

View File

@@ -114,7 +114,9 @@ steps:
- name: Build package files
commands:
- python3 -m build
- name: Run final test after build
commands:
- tox
- name: Versie toevoegen aan download
environment:
DOWNLOADDIR: /usr/share/nginx/html/download/python/lmwsip
@@ -133,6 +135,14 @@ steps:
fi
done
- ls -l "$${DOWNLOADDIR}"
- name: Versie upload naar pypi test
environment:
TWINE_USERNAME:
from_secret: twine_username
TWINE_PASSWORD:
from_secret: twine_password
commands:
- python3 -m twine upload --repository testpypi dist/*
when:
branch:
- master