updated deploy.rb to include link to slides
authorelijah <elijah@riseup.net>
Tue, 22 Apr 2014 21:19:53 +0000 (14:19 -0700)
committerelijah <elijah@riseup.net>
Tue, 22 Apr 2014 21:19:53 +0000 (14:19 -0700)
config/deploy.rb

index edc3f67..fd060bb 100644 (file)
@@ -33,6 +33,11 @@ namespace :leap do
     run "rm -f #{current_release}/public/code"
     run "ln -s /var/www/chili/public #{current_release}/public/code"
   end
+  task :link_to_slides do
+    run "rm -f #{current_release}/public/slides"
+    run "ln -s /home/website/slides #{current_release}/public/slides"
+  end
 end
 
 after  "deploy:create_symlink", "leap:link_to_chiliproject"
+after  "deploy:create_symlink", "leap:link_to_slides"