Add drone file

master
Ambrose Chua 2018-07-20 14:38:41 +08:00
parent 78c92c128e
commit 5363f9d0e4
1 changed files with 16 additions and 0 deletions

16
.drone.yml Normal file
View File

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