diff --git a/.drone.yml b/.drone.yml index 1f89484..a990c65 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,12 +3,13 @@ type: docker name: default steps: -- name: uglifyjs - image: node +- name: compress_and_zip + image: node:alpine commands: - npm install uglify-js -g - for i in *.js; do uglifyjs -c -m -o $i $i; done - - tar -cvzf Boiler-AutoLogin.tar.gz manifest.json *.html *.js + - apk add zip + - zip Boiler-AutoLogin.zip manifest.json *.html *.js when: event: tag