From c640061f2fd490653fc593bd91c54737e1801226 Mon Sep 17 00:00:00 2001 From: Levi Olson Date: Mon, 30 Apr 2018 14:23:04 -0500 Subject: [PATCH] deploy script --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 198ff1c..86c7f33 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,8 +7,23 @@ cache: paths: - node_modules/ +stages: + - test + - deploy + test_coverage: + stage: test script: - npm install - npm install --global mocha nyc - npm run coverage + +deploy_prod: + stage: deploy + script: + - echo "Deploying to Production" + environment: + name: production + url: https://leviolson.com + only: + - master \ No newline at end of file