Author: vjrj_ Date: 2010-09-22 23:20:51 +0200 (Wed, 22 Sep 2010) New Revision: 13 Modified: trunk/fabfile.py Log: Modified: trunk/fabfile.py =================================================================== --- trunk/fabfile.py 2010-09-22 21:09:02 UTC (rev 12) +++ trunk/fabfile.py 2010-09-22 21:20:51 UTC (rev 13) @@ -2,6 +2,7 @@ env.hosts = ['scm.ourproject.org'] wp_theme_path = '/home/groups/movecommons/htdocs/wp-content/themes/mc' +mc_img_path = '/home/groups/movecommons/htdocs/mc/0.1/images' def commit(): "Similar to prepare_deploy" @@ -19,7 +20,9 @@ def svn_update(): "Updates MC website with the repository files." run("cd %s; svn up" % wp_theme_path) + run("cd %s; svn up" % mc_img_path) run("chgrp -R movecommons %s" % wp_theme_path) + run("chgrp -R movecommons %s" % mc_img_path) def deploy(): run('echo Deploying with user: "%(user)s"' % env)