1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Fix the dynamic pages deployment, hopefully.

This commit is contained in:
Nathan Weizenbaum 2009-10-08 22:08:22 -07:00
parent f21495aaf7
commit 49fdcc6006

View file

@ -248,11 +248,9 @@ task :pages do
sh %{git checkout #{proj}-pages}
sh %{git reset --hard origin/#{proj}-pages}
old_path = File.expand_path(".")
Dir.chdir("/var/www/#{proj}-pages")
sh %{git fetch #{old_path}}
sh %{git reset --hard FETCH_HEAD}
sh %{git fetch origin}
sh %{git reset --hard origin/#{proj}-pages}
sh %{rake build --trace}
sh %{mkdir -p tmp}
sh %{touch tmp/restart.txt}