This should be better.
This commit is contained in:
parent
ac1f4ef0fc
commit
5a020dd6fe
@ -19,9 +19,9 @@ steps:
|
|||||||
image: node:14
|
image: node:14
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
- REACT_APP_API_BASE_URL=$BASE_URL npm run build
|
- npm run build
|
||||||
environment:
|
environment:
|
||||||
BASE_URL:
|
REACT_APP_API_BASE_URL:
|
||||||
from_secret: baseurl
|
from_secret: baseurl
|
||||||
|
|
||||||
- name: saveNodeModules
|
- name: saveNodeModules
|
||||||
@ -65,6 +65,9 @@ steps:
|
|||||||
image: node:14
|
image: node:14
|
||||||
commands:
|
commands:
|
||||||
- npm run build
|
- npm run build
|
||||||
|
environment:
|
||||||
|
REACT_APP_API_BASE_URL:
|
||||||
|
from_secret: baseurl
|
||||||
|
|
||||||
- name: scpFiles
|
- name: scpFiles
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
|
Loading…
Reference in New Issue
Block a user