Update .drone.yml

master
Ambrose Chua 2018-07-20 14:46:02 +08:00 committed by GitHub
parent 5363f9d0e4
commit 19a8ecf614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -3,10 +3,12 @@ pipeline:
image: node:9-stretch
commands:
- apt update
- apt install zip
- apt install -y zip
- yarn install
- yarn dist
- for f in assignment-*; do zip -r $f.zip $f; done
when:
event: tag
release:
image: plugins/github-release
secrets: [ github_token ]