Drone: correctie pipeline
This commit is contained in:
@@ -19,10 +19,12 @@ steps:
|
|||||||
- python3 setup.py sdist bdist_wheel
|
- python3 setup.py sdist bdist_wheel
|
||||||
|
|
||||||
- name: Versie toevoegen aan download
|
- name: Versie toevoegen aan download
|
||||||
|
environment:
|
||||||
|
DOWNLOADDIR=/usr/share/nginx/html/download/python/lmwsip
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /usr/share/nginx/html/download/python/lmwsip
|
- mkdir -p "${DOWNLOADDIR}"
|
||||||
- cd dist
|
- cd dist
|
||||||
- for f in *;do if [ -f "${f}" ] ; then echo version error;exit 1;else cp "${f}" /usr/share/nginx/html/download/python/lmwsip;fi;done
|
- for f in *;do if [ -f "${DOWNLOADDIR}/${f}" ] ; then echo version error;exit 1;else cp "${f}" "${DOWNLOADDIR}";fi;done
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
Reference in New Issue
Block a user