mtfosbot_web/.drone.yml

18 lines
377 B
YAML
Raw Normal View History

2018-08-24 12:30:28 +00:00
pipeline:
build:
image: node:8
command:
- npm install
- BASE_URL=/web npm run build
when:
branch: release
docker:
image: plugins/docker
registry: docker.mtfos.xyz
repo: docker.mtfos.xyz/mtfos/bot_web
build_arg:
- PREFIX=/web
dockerfile: Dockerfile
tags: [latest, "${DRONE_COMMIT}"]
when:
branch: release