Browse files

Split out the css rebuilding into its own fab method.

  • Loading branch information...
1 parent 7bde253 commit 04e8206a8610666c6027fc0f4be5e786e4bd5513 @ericflo committed Sep 10, 2008
Showing with 4 additions and 4 deletions.
  1. +4 −4
@@ -13,13 +13,13 @@ def link_nginx():
sudo('ln -s /etc/nginx/sites-available/ /etc/nginx/sites-enabled/')
sudo('/etc/init.d/nginx reload')
-def deploy():
- 'Deploy startthedark.'
+def rebuild_prod_css():
- set(fab_fail = 'ignore')
local('git commit -a -m "Rebuilt Prod CSS For Commit"')
local('git push origin master')
- set(fab_fail = 'abort')
+def deploy():
+ 'Deploy startthedark.'
run('cd /var/www/; git pull;')
run('cd /var/www/; /usr/bin/python syncdb')
sudo('/etc/init.d/apache2 reload')

0 comments on commit 04e8206

Please sign in to comment.