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