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:
- prepare
- test
- deploy
services:
- postgres:latest
@ -23,7 +24,7 @@ variables:
install_requirements:
stage: prepare
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 install
artifacts:
@ -34,3 +35,8 @@ tests:
stage: test
script:
- npm test
deploy:
stage: deploy
script:
- curl -fL https://letu.flifloo.fr/git