From 5a020dd6fe06dc43380dec60b26401d118232acd Mon Sep 17 00:00:00 2001 From: aminecmi Date: Sun, 2 Oct 2022 13:41:18 +0200 Subject: [PATCH] This should be better. --- .drone.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3927095..f2d90d5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,9 +19,9 @@ steps: image: node:14 commands: - npm install - - REACT_APP_API_BASE_URL=$BASE_URL npm run build + - npm run build environment: - BASE_URL: + REACT_APP_API_BASE_URL: from_secret: baseurl - name: saveNodeModules @@ -65,6 +65,9 @@ steps: image: node:14 commands: - npm run build + environment: + REACT_APP_API_BASE_URL: + from_secret: baseurl - name: scpFiles image: appleboy/drone-scp