Skip to content

Commit 4e9852f

Browse files
author
Peter Hegman
committed
Add travis.yml file for deployment
1 parent 2a55fc4 commit 4e9852f

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Diff for: .travis.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: node_js
2+
node_js:
3+
- '10'
4+
script: yarn build
5+
deploy:
6+
- provider: npm
7+
email: $NPM_EMAIL
8+
api_key: $NPM_TOKEN
9+
skip_cleanup: true
10+
on:
11+
tags: true
12+
- provider: releases
13+
api_key: $GITHUB_OAUTH_TOKEN
14+
file_glob: true
15+
file: dist/*
16+
skip_cleanup: true
17+
on:
18+
tags: true
19+
- provider: pages
20+
skip_cleanup: true
21+
github_token: $GITHUB_PAGES_TOKEN
22+
local_dir: dist
23+
fqdn: vue-mapbox-gl.peterhegman.com
24+
on:
25+
branch: master

0 commit comments

Comments
 (0)