This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
leviolson
/
website
Watch
1
Star
1
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
deploy script
pull/2/head
Levi Olson
6 years ago
parent
cf1d8c45e5
commit
c640061f2f
1 changed files
with
15 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save