Skip to content
Snippets Groups Projects
Commit 16aef76f authored by Wilson JALLET's avatar Wilson JALLET :money_with_wings:
Browse files

Màj config ci

parent 39c73370
No related branches found
No related tags found
No related merge requests found
...@@ -23,16 +23,25 @@ stages: ...@@ -23,16 +23,25 @@ stages:
# Install dependencies, compile the bundle.js, # Install dependencies, compile the bundle.js,
# make migrations on and seed the db # make migrations on and seed the db
install-dependencies:
stage: install
script:
- npm install -q
artifacts:
paths:
- build/
- node_modules/
tags:
- build
build: build:
stage: build stage: build
script: script:
- npm install -qy
- npm run build - npm run build
- knex migrate:latest - knex migrate:latest
- knex seed:run - knex seed:run
artifacts: artifacts:
paths: paths:
- node_modules/
- build/ - build/
tags: tags:
- build - build
...@@ -64,4 +73,4 @@ deploy-staging: ...@@ -64,4 +73,4 @@ deploy-staging:
name: staging name: staging
url: http://129.104.210.10:3000 url: http://129.104.210.10:3000
tags: tags:
- deploy - deployment
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment