From aa1010d74a47bf0e0a9258fe62d42ead6cda6781 Mon Sep 17 00:00:00 2001 From: konrad Date: Fri, 12 Jan 2018 10:11:56 +0100 Subject: [PATCH] Modified build process to build the frontend only once --- .drone.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index abcf923..5ad5ca7 100644 --- a/.drone.yml +++ b/.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