From dd98eb5dafc226d6fcd224696b9a2ede3f2b6ca2 Mon Sep 17 00:00:00 2001 From: flifloo Date: Tue, 3 Nov 2020 13:44:39 +0100 Subject: [PATCH] Add deployment --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ed0ed0..66e2f2b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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