fix: environment variables for ci/cd
continuous-integration/drone/push Build is passing Details

pull/9/head
Rémi REGNAULT 1 year ago
parent 0f94800d4f
commit df73ce269c

@ -6,7 +6,10 @@ trigger:
event:
- push
environment:
steps:
- name: api-build
image: node:latest
environment:
DB_USERNAME:
from_secret: SECRET_DB_USERNAME
DB_DBHOST:
@ -17,10 +20,6 @@ environment:
from_secret: SECRET_DB_USERPASSWORD
DB_PORT:
from_secret: SECRET_DB_PORT
steps:
- name: api-build
image: node:latest
commands:
- cd ./API-Project
- npm install

Loading…
Cancel
Save