]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Add symlinks to docs and downloads on deploy
authorEric Morris <eric@zurb.com>
Tue, 29 Oct 2013 17:12:26 +0000 (10:12 -0700)
committerEric Morris <eric@zurb.com>
Tue, 29 Oct 2013 17:12:26 +0000 (10:12 -0700)
config/deploy.rb

index ddc7cf82147fbfae3fb1629a8e96cdb0cfbed96d..6a9396248641b0c5cf8b7ea2f4d4e9caf30d0e60 100644 (file)
@@ -27,4 +27,14 @@ namespace :deploy do
     run "rm -rf #{release_path}/public/cache"
     run "ln -nfs #{shared_path}/cache #{release_path}/public"
   end
+
+  desc "Symlink downloads"
+  task :link_downloads do
+    run "ln -fs #{shared_path}/downloads #{release_path}/downloads"
+  end
+
+  desc "Symlink docs"
+  task :link_downloads do
+    run "ln -fs #{shared_path}/docs #{release_path}/docs"
+  end
 end
\ No newline at end of file