auto fix update error
This commit is contained in:
parent
6017d67104
commit
9c2853eae8
|
@ -188,7 +188,7 @@ class Admin::SitesController < OrbitAdminController
|
||||||
if %x[#{git} config user.email].empty?
|
if %x[#{git} config user.email].empty?
|
||||||
%x[#{git} config --global user.email "orbit@rulingcom.com"]
|
%x[#{git} config --global user.email "orbit@rulingcom.com"]
|
||||||
end
|
end
|
||||||
Bundler.with_clean_env{system("#{git_add_except_public} ; #{git} commit -m auto_backup_before_#{type}_#{time_now} && #{git} reset #{commit} --mixed ; #{git_add_custom} ; #{git_restore} ; #{git_add_except_public} ; #{git} commit -m complete_#{type}_#{time_now}")}
|
Bundler.with_clean_env{system("#{git_add_except_public} ; #{git} commit -m auto_backup_before_#{type}_#{time_now} --allow-empty && #{git} reset #{commit} --mixed ; #{git_add_custom} ; #{git_restore} ; #{git_add_except_public} ; #{git} commit -m complete_#{type}_#{time_now} --allow-empty")}
|
||||||
mul.update_attributes(status: 'finish')
|
mul.update_attributes(status: 'finish')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue