From a1c35a6c568f046d3edb2aea55500d236b23e372 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Tue, 11 Feb 2020 20:52:06 +0100 Subject: [PATCH] Debug --- .gitlab-ci.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc1d4d7..8e4a9ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,24 +7,12 @@ variables: POSTGRES_PASSWORD: "postgres" stages: - # - build - # - migrate - test + - pages cache: paths: - node_modules/ - # install: - # stage: build - # script: - # - yarn install - # artifacts: - # paths: - # - node_modules/ - # migrate: - # stage: migrate - # script: - # - ./node_modules/.bin/sequelize db:migrate testing: stage: test @@ -41,3 +29,16 @@ testing: - reports/ reports: junit: junit.xml + +pages: + stage: deploy + dependencies: + - testing + script: + - mv coverage/ public/ + artifacts: + paths: + - public + expire_in: 30 days + only: + - develop