From 614287c31b59044c12eb057d053249d5303e86ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Thu, 7 Mar 2019 01:52:58 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c47dd2..581958f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,21 @@ +stages: + - build + - deploy + + image: node:10-slim build: + stage: build script: - npm install - - npm build + - npm run build + +deploy: + stage: deploy + script: + - echo "Deploy to dodsorf.as" + environment: + name: wug dodsorf.as + only: + - master \ No newline at end of file