This should be better.
This commit is contained in:
parent
ac1f4ef0fc
commit
5a020dd6fe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user