From 74f9e1fd9469dd48cb58f059143d961cfe983cd5 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Sat, 6 Aug 2022 15:13:04 +0200 Subject: [PATCH] Fixing drone build. --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 42f0a1a..6334fe5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,6 @@ steps: image: node:14 commands: - npm install - - echo $VUE_APP_API_BASE_URL - npm run lint - npm run build:prod environment: @@ -38,6 +37,15 @@ type: docker name: CopyToServer steps: + - name: build + image: node:14 + commands: + - npm install + - npm run build:prod + environment: + VUE_APP_API_BASE_URL: + from_secret: baseurl + - name: scp files image: appleboy/drone-scp settings: