mtfosbot_web/.drone.yml

18 lines
379 B
YAML
Raw Permalink Normal View History

2018-08-24 12:30:28 +00:00
pipeline:
build:
image: node:8
2018-08-24 12:32:10 +00:00
commands:
2018-08-24 12:30:28 +00:00
- 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
2018-08-24 12:36:26 +00:00
build_args:
2018-08-24 12:30:28 +00:00
- PREFIX=/web
dockerfile: Dockerfile
tags: [latest, "${DRONE_COMMIT}"]
when:
branch: release