aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-22 18:05:48 +0300
committerValentin Popov <info@valentineus.link>2017-10-22 18:06:36 +0300
commitc7db50ca2332773a3c65a9195d2ff05d5a3c44f4 (patch)
tree78c0b974a6cf45565c0a4961840db12cff5c2b25 /.travis.yml
parentc10e4d849f11789230e0ba535bfc65770a16fdae (diff)
downloadsimple-container-c7db50ca2332773a3c65a9195d2ff05d5a3c44f4.tar.xz
simple-container-c7db50ca2332773a3c65a9195d2ff05d5a3c44f4.zip
Automatic publication of the package in GitHub
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml21
1 files changed, 15 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index f4a4457..d9fd09e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,10 +42,19 @@ jobs:
- git stash --all
- npm install
- npm run build
+ - npm pack
deploy:
- provider: npm
- skip_cleanup: true
- email: "info@valentineus.link"
- api_key: $NPM_PROJECT_TOKEN
- on:
- tags: true \ No newline at end of file
+ - provider: npm
+ skip_cleanup: true
+ email: "info@valentineus.link"
+ api_key: $NPM_PROJECT_TOKEN
+ on:
+ tags: true
+
+ - provider: releases
+ skip_cleanup: true
+ file: "simple-container-*.tgz"
+ email: "info@valentineus.link"
+ api_key: $GITHUB_PROJECT_TOKEN
+ on:
+ tags: true \ No newline at end of file