From 5ac3b38253a8b569efca6538f7cbf4edd1c525c3 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Sat, 21 Nov 2015 00:53:02 -0500 Subject: [PATCH] I think i got it --- circle.yml | 3 +++ deploy.sh | 2 ++ gulpfile.js | 3 +-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index bfdc83d..3a7a79e 100644 --- a/circle.yml +++ b/circle.yml @@ -10,7 +10,10 @@ deployment: test: override: - npm install -g gulp + - npm install -g bower + - bower install - gulp publish + - gulp cachebust dependencies: cache_directories: - "node_modules" # relative to the build directory diff --git a/deploy.sh b/deploy.sh index bca2724..f64d3ac 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,8 @@ #!/bin/bash git config user.email "tparnell8@gmail.com" git config user.name "Tommy Parnell" +rm -rf components +rm -rf node_modules git add . --force git commit -m "Deployed to Github Pages" git push --force "git@github.com:tparnell8/about.tommyparnell.com.node.git" master:gh-pages diff --git a/gulpfile.js b/gulpfile.js index 09daae6..6f1e355 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -90,8 +90,7 @@ gulp.task('cachebust', function(){ gulp.task('publish', [ 'minfiyCss', 'minifyHtml', - 'minifyJs', - 'cachebust' + 'minifyJs' ]); gulp.task('default', [