From ee0fd7479fde56a254283cf7a94347129464b764 Mon Sep 17 00:00:00 2001 From: Sahar Jafari Date: Sat, 7 May 2016 15:21:51 -0700 Subject: [PATCH] deploy to npm using TravisCI Fixes #860 --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index b6ef13a9296..0b15621067e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,3 +21,11 @@ script: env: - DOCKER_IMAGE_NAME=swaggerapi/swagger-editor + +deploy: + on: + tags: true + provider: npm + email: "apiteam@swagger.io" + api_key: + secure: G/bZcCrTPWYcLRrmFGMTxrNw6dOJkvijpjwprDieGarhwhY9Y2EZlzFIuLIKxE7Aht9W5P61Ic7tI48Akeb68GGtTDXTlut/BC6tDG0q5yXh9MoEerqrYmgd1KErT/szAQX+kdFAY+NDM9rov8o6H+iFNZBYvxf11dBBFoXv11Q=