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