Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
add in hash update to deploy (bug 660094)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Jun 2, 2011
1 parent 7255e35 commit b5460b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/deploy.py
Expand Up @@ -52,9 +52,9 @@ def manage_cmd(ctx, command):


@task
def compress_assets(ctx):
def compress_assets(ctx, arg=''):
with ctx.lcd(AMO_DIR):
ctx.local("python2.6 manage.py compress_assets")
ctx.local("python2.6 manage.py compress_assets %s" % arg)


@task
Expand Down Expand Up @@ -108,6 +108,8 @@ def update_amo(ctx):
deploy_code()
restart_celery()
enable_cron()
compress_assets('-u')
deploy_code()
# END: The normal update/push cycle.

manage_cmd(ctx, 'commentlog')
Expand Down

0 comments on commit b5460b3

Please sign in to comment.