Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Jan 29, 2015
1 parent a36bd3e commit df873c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/github.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def run(opts={}, config={})
# try to create all branches if not exist
system("git", "branch", deploy_branch)
system("git", "branch", source_branch)


Ruhoh::Friend.say {
plain "Deploying to GitHub Pages."
Expand All @@ -32,7 +32,7 @@ def run(opts={}, config={})

if deploy_branch?
puts "Currently in deploy branch: '#{ deploy_branch }'; switching to source branch: '#{ source_branch }'..."
`git checkout #{ source_branch }`
system("git", "checkout", source_branch)
end

ruhoh = compile
Expand Down

0 comments on commit df873c9

Please sign in to comment.