1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

no reason to use pushd in a isolated shell

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@718 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
evanweaver 2007-10-21 04:42:52 +00:00
parent 237dc7d985
commit 9755ec6729

View file

@ -196,7 +196,8 @@ namespace :site do
desc "Upload the website"
task :web do
sh "pushd site; webgen; ruby atom.rb > output/feed.atom; rsync -azv --no-perms --no-times output/* rubyforge.org:/var/www/gforge-projects/mongrel/; popd"
# Requires the 'webgem' gem and the 'atom-tools' gem
sh "cd site; webgen; ruby atom.rb > output/feed.atom; rsync -azv --no-perms --no-times output/* rubyforge.org:/var/www/gforge-projects/mongrel/"
end
desc "Upload the rdocs"