Drone: correctie pipeline
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -22,9 +22,9 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
DOWNLOADDIR: /usr/share/nginx/html/download/python/lmwsip
|
DOWNLOADDIR: /usr/share/nginx/html/download/python/lmwsip
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p "${DOWNLOADDIR}"
|
- mkdir -p "$${DOWNLOADDIR}"
|
||||||
- cd dist
|
- 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:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
Reference in New Issue
Block a user