Browse Source

workflow

main
spokequenouille 6 years ago
parent
commit
410f8ebc93
  1. 16
      .circleci/config.yml

16
.circleci/config.yml

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

Loading…
Cancel
Save