Browse Source

workflow

main
spokequenouille 6 years ago
parent
commit
edd1151d50
  1. 11
      .circleci/config.yml

11
.circleci/config.yml

@ -25,6 +25,11 @@ jobs:
- ./node_module
deploy_bdd:
docker:
- image: 'circleci/postgres:9.6.2-alpine'
environment:
POSTGRE_USER: psqluser
POSTGRE_PASSWORD: psqlpassword
POSTGRE_DB: psdb
- image: circleci/node:14 # the primary container, where your job's commands are run
environment:
DATABASEURL: postgres://psqluser:psqlpassword@localhost:5432/psdb
@ -32,12 +37,6 @@ jobs:
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
docker:
- image: 'circleci/postgres:9.6.2-alpine'
environment:
POSTGRE_USER: psqluser
POSTGRE_PASSWORD: psqlpassword
POSTGRE_DB: psdb
steps:
- checkout
- restore_cache:

Loading…
Cancel
Save