mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Make sure the stable branch of the pages repo is up-to-date.
This commit is contained in:
parent
49fdcc6006
commit
b18a9ac6c9
1 changed files with 5 additions and 0 deletions
5
Rakefile
5
Rakefile
|
@ -250,6 +250,11 @@ task :pages do
|
||||||
|
|
||||||
Dir.chdir("/var/www/#{proj}-pages")
|
Dir.chdir("/var/www/#{proj}-pages")
|
||||||
sh %{git fetch origin}
|
sh %{git fetch origin}
|
||||||
|
|
||||||
|
sh %{git checkout stable}
|
||||||
|
sh %{git reset --hard origin/stable}
|
||||||
|
|
||||||
|
sh %{git checkout #{proj}-pages}
|
||||||
sh %{git reset --hard origin/#{proj}-pages}
|
sh %{git reset --hard origin/#{proj}-pages}
|
||||||
sh %{rake build --trace}
|
sh %{rake build --trace}
|
||||||
sh %{mkdir -p tmp}
|
sh %{mkdir -p tmp}
|
||||||
|
|
Loading…
Reference in a new issue