mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 08:58:58 -05:00
fixed deploy var in rake task
This commit is contained in:
parent
1e796da9db
commit
65ab7abbfa
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("#{deploy_branch}")
|
repo.push("origin #{deploy_branch}")
|
||||||
repo.branch("#{source_branch}").checkout
|
repo.branch("#{source_branch}").checkout
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user