Modified build process to build the frontend only once
the build failed
Details
the build failed
Details
This commit is contained in:
parent
b2e086c3e6
commit
aa1010d74a
18
.drone.yml
18
.drone.yml
|
@ -30,6 +30,8 @@ pipeline:
|
|||
group: build
|
||||
commands:
|
||||
- cd frontend/
|
||||
- rm siteconfig.json
|
||||
- echo '{"API_URL": "/api/v1/"}' > siteconfig.json
|
||||
- npm install
|
||||
- npm run build
|
||||
when:
|
||||
|
@ -83,14 +85,14 @@ pipeline:
|
|||
when:
|
||||
event: [tag, push]
|
||||
|
||||
static-build-frontend:
|
||||
image: webhippie/nodejs:current
|
||||
pull: true
|
||||
group: build-static
|
||||
commands:
|
||||
- make release-frontend
|
||||
when:
|
||||
event: [push, tag ]
|
||||
# static-build-frontend:
|
||||
# image: webhippie/nodejs:current
|
||||
# pull: true
|
||||
# group: build-static
|
||||
# commands:
|
||||
# - make release-frontend
|
||||
# when:
|
||||
# event: [push, tag ]
|
||||
|
||||
after-build-static:
|
||||
image: karalabe/xgo-latest:latest
|
||||
|
|
Loading…
Reference in New Issue