From 16aef76fb5c3ec73ed2c340a56b4853395aa9edf Mon Sep 17 00:00:00 2001 From: ManifoldFR <wilson.jallet@gmail.com> Date: Thu, 15 Mar 2018 18:46:51 +0100 Subject: [PATCH] =?UTF-8?q?M=C3=A0j=20config=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 78852d0..f1666f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,16 +23,25 @@ stages: # Install dependencies, compile the bundle.js, # make migrations on and seed the db +install-dependencies: + stage: install + script: + - npm install -q + artifacts: + paths: + - build/ + - node_modules/ + tags: + - build + build: stage: build script: - - npm install -qy - npm run build - knex migrate:latest - knex seed:run artifacts: paths: - - node_modules/ - build/ tags: - build @@ -64,4 +73,4 @@ deploy-staging: name: staging url: http://129.104.210.10:3000 tags: - - deploy \ No newline at end of file + - deployment \ No newline at end of file -- GitLab