This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -114,7 +114,9 @@ steps:
|
|||||||
- name: Build package files
|
- name: Build package files
|
||||||
commands:
|
commands:
|
||||||
- python3 -m build
|
- python3 -m build
|
||||||
|
- name: Run final test after build
|
||||||
|
commands:
|
||||||
|
- tox
|
||||||
- name: Versie toevoegen aan download
|
- name: Versie toevoegen aan download
|
||||||
environment:
|
environment:
|
||||||
DOWNLOADDIR: /usr/share/nginx/html/download/python/lmwsip
|
DOWNLOADDIR: /usr/share/nginx/html/download/python/lmwsip
|
||||||
@@ -133,6 +135,14 @@ steps:
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
- ls -l "$${DOWNLOADDIR}"
|
- 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:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
Reference in New Issue
Block a user