updated drone to build frontend
the build failed
Details
the build failed
Details
This commit is contained in:
parent
5f8c3ec484
commit
3628cfb520
11
.drone.yml
11
.drone.yml
|
@ -8,7 +8,7 @@ pipeline:
|
||||||
depth: 50
|
depth: 50
|
||||||
tags: true
|
tags: true
|
||||||
|
|
||||||
build:
|
build-backend:
|
||||||
image: webhippie/golang:edge
|
image: webhippie/golang:edge
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -22,6 +22,15 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
|
build-frontend:
|
||||||
|
image: node:6.12.0
|
||||||
|
pull: true
|
||||||
|
commands:
|
||||||
|
- npm install
|
||||||
|
- npm build
|
||||||
|
when:
|
||||||
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
# static:
|
# static:
|
||||||
# image: karalabe/xgo-latest:latest
|
# image: karalabe/xgo-latest:latest
|
||||||
# pull: true
|
# pull: true
|
||||||
|
|
Loading…
Reference in New Issue