I think i got it
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -90,8 +90,7 @@ gulp.task('cachebust', function(){
|
||||
gulp.task('publish', [
|
||||
'minfiyCss',
|
||||
'minifyHtml',
|
||||
'minifyJs',
|
||||
'cachebust'
|
||||
'minifyJs'
|
||||
]);
|
||||
|
||||
gulp.task('default', [
|
||||
|
||||
Reference in New Issue
Block a user