Drone: correctie pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Marcel Nijenhof
2020-09-08 15:08:46 +02:00
parent 8159dc83da
commit da5da044ef

View File

@@ -22,9 +22,9 @@ steps:
environment:
DOWNLOADDIR: /usr/share/nginx/html/download/python/lmwsip
commands:
- mkdir -p "${DOWNLOADDIR}"
- mkdir -p "$${DOWNLOADDIR}"
- cd dist
- for f in *;do if [ -f "${DOWNLOADDIR}/${f}" ] ; then echo version error;exit 1;else cp "${f}" "${DOWNLOADDIR}";fi;done
- for f in *;do if [ -f "$${DOWNLOADDIR}/$${f}" ] ; then echo version error;exit 1;else cp "$${f}" "$${DOWNLOADDIR}";fi;done
when:
branch:
- master