From 3ab898379581b9a4a079930fb88f3a78537c0752 Mon Sep 17 00:00:00 2001 From: Thomas Park Date: Mon, 3 Nov 2014 21:07:49 -0500 Subject: use travis to auto-deploy to npm --- .travis.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4bacb0bd..48f5200c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,22 @@ branches: only: - - master - - gh-pages - + - master + - gh-pages language: node_js - node_js: - - "0.10" - +- '0.10' before_install: - - npm install -g grunt-cli recess bower - - bower install - -script: "grunt swatch" - +- npm install -g grunt-cli recess bower +- bower install +script: grunt swatch git: depth: 10 +deploy: + provider: npm + email: hello@thomaspark.me + api_key: + secure: E9dTc33u8aHCXG4qd8TrafOiAMzgEJYQUx/bnG2thb4cDD2U64LEdShjkXnjwr2K2RLNfQ4IQWHsDVAvyDK0f9kiud0swoG0SHTU9RDQ+NYFYODZe/c5qOlYqIHoJIpLV3lb7AHrzhrk+G1bkTn7pukB6/nEU0e+D3I7b3kbwEg= + on: + tags: true + repo: thomaspark/bootswatch + branch: gh-pages -- cgit v1.2.3