Skip to content

Commit 2c8ed03

Browse files
committed
update scripts
1 parent 98ae510 commit 2c8ed03

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Rakefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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

deploy.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ bundle install
2727

2828
bundle 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

3638
git checkout source

0 commit comments

Comments
 (0)