This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -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
|
||||
|
Reference in New Issue
Block a user