File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -213,10 +213,6 @@ namespace :site do
213213 # Commit and push to github
214214 sha = `git log` . match ( /[a-z0-9]{40}/ ) [ 0 ]
215215 Dir . chdir ( CONFIG [ "destination" ] ) do
216- sh "git config --global user.email 'mad.hephaestus@gmail.com'"
217- sh "git config --global user.name 'Kevin Harrington'"
218- sh "git add --all ."
219- sh "git commit -m 'Updating to #{ USERNAME } /#{ REPO } @#{ sha } .'"
220216 puts "Pushed updated branch #{ DESTINATION_BRANCH } to GitHub Pages"
221217 puts "My work is done, Will I Dream...?"
222218 end
Original file line number Diff line number Diff line change @@ -27,10 +27,12 @@ bundle install
2727
2828bundle exec rake site:deploy
2929
30- git commit -a -m " Update for deploy "
30+ set +e
3131
32+ git add --all .
3233
33- git push origin deploy
34+ git commit -a -m " Update for deploy "
3435
36+ git push origin deploy
3537
3638git checkout source
You can’t perform that action at this time.
0 commit comments