Make sure we get out of the pages directory after updating.
This commit is contained in:
parent
b18a9ac6c9
commit
012355103e
3
Rakefile
3
Rakefile
|
@ -248,7 +248,7 @@ task :pages do
|
|||
sh %{git checkout #{proj}-pages}
|
||||
sh %{git reset --hard origin/#{proj}-pages}
|
||||
|
||||
Dir.chdir("/var/www/#{proj}-pages")
|
||||
Dir.chdir("/var/www/#{proj}-pages") do
|
||||
sh %{git fetch origin}
|
||||
|
||||
sh %{git checkout stable}
|
||||
|
@ -260,6 +260,7 @@ task :pages do
|
|||
sh %{mkdir -p tmp}
|
||||
sh %{touch tmp/restart.txt}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# ----- Coverage -----
|
||||
|
|
Loading…
Reference in New Issue