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