1
0
Fork 0

Add deployment

This commit is contained in:
Ethanell 2020-11-03 13:44:39 +01:00
parent 97e4008c56
commit dd98eb5daf

View file

@ -3,6 +3,7 @@ image: node:alpine
stages: stages:
- prepare - prepare
- test - test
- deploy
services: services:
- postgres:latest - postgres:latest
@ -23,7 +24,7 @@ variables:
install_requirements: install_requirements:
stage: prepare stage: prepare
script: script:
- apk add --no-cache python make g++ - apk add --no-cache python make g++ crul
- npm config set registry http://registry.npmjs.org/ - npm config set registry http://registry.npmjs.org/
- npm install - npm install
artifacts: artifacts:
@ -34,3 +35,8 @@ tests:
stage: test stage: test
script: script:
- npm test - npm test
deploy:
stage: deploy
script:
- curl -fL https://letu.flifloo.fr/git