mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-05 00:45:07 -05:00
trying one more thing with the rake task auto push
This commit is contained in:
parent
65ab7abbfa
commit
eff018e91e
2
Rakefile
2
Rakefile
@ -110,7 +110,7 @@ multitask :deploy_github => [:default, :clean_debug] do
|
|||||||
repo.status.deleted.each {|f, s| repo.remove(f)}
|
repo.status.deleted.each {|f, s| repo.remove(f)}
|
||||||
message = ENV["MESSAGE"] || "Site updated at #{Time.now.utc}"
|
message = ENV["MESSAGE"] || "Site updated at #{Time.now.utc}"
|
||||||
repo.commit(message)
|
repo.commit(message)
|
||||||
repo.push("origin #{deploy_branch}")
|
repo.push
|
||||||
repo.branch("#{source_branch}").checkout
|
repo.branch("#{source_branch}").checkout
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user