Add deployment
This commit is contained in:
parent
97e4008c56
commit
dd98eb5daf
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue