Browse Source

deploy script

post_vjs2
Levi Olson 6 years ago
parent
commit
c640061f2f
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      .gitlab-ci.yml

+ 15
- 0
.gitlab-ci.yml View File

@ -7,8 +7,23 @@ cache:
paths: paths:
- node_modules/ - node_modules/
stages:
- test
- deploy
test_coverage: test_coverage:
stage: test
script: script:
- npm install - npm install
- npm install --global mocha nyc - npm install --global mocha nyc
- npm run coverage - npm run coverage
deploy_prod:
stage: deploy
script:
- echo "Deploying to Production"
environment:
name: production
url: https://leviolson.com
only:
- master

Loading…
Cancel
Save