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