This should be better.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
aminecmi 2022-10-02 13:41:18 +02:00
parent ac1f4ef0fc
commit 5a020dd6fe

View File

@ -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