Fix zip creation in drone

This commit is contained in:
Tobias Reisinger 2021-08-07 22:15:21 +02:00
parent e564b1aeaa
commit 7509ef7a65
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -22,8 +22,8 @@ steps:
pull: always pull: always
commands: commands:
- apk add zip - apk add zip
- cd /drone/ - rm -rf .git node_modules src
- rm -r reitanlage-oranienburg/src reitanlage-oranienburg/node_modules - cd ..
- zip -r ro.zip reitanlage-oranienburg - zip -r ro.zip reitanlage-oranienburg
- mv ro.zip /drone/reitanlage-oranienburg/reitanlage-oranienburg-${DRONE_TAG}.zip - mv ro.zip /drone/reitanlage-oranienburg/reitanlage-oranienburg-${DRONE_TAG}.zip