now Github pages :push task forces
This commit is contained in:
parent
4d49149404
commit
aa1abd0827
2
Rakefile
2
Rakefile
@ -235,7 +235,7 @@ multitask :push do
|
|||||||
message = "Site updated at #{Time.now.utc}"
|
message = "Site updated at #{Time.now.utc}"
|
||||||
system "git commit -m \"#{message}\""
|
system "git commit -m \"#{message}\""
|
||||||
puts "\n## Pushing generated #{deploy_dir} website"
|
puts "\n## Pushing generated #{deploy_dir} website"
|
||||||
system "git push origin #{deploy_branch}"
|
system "git push origin #{deploy_branch} --force"
|
||||||
puts "\n## Github Pages deploy complete"
|
puts "\n## Github Pages deploy complete"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user