assignment-terrible-editor/.drone.yml

17 lines
332 B
YAML
Raw Normal View History

2018-07-20 14:38:41 +08:00
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