Add archiving cleaning for staging environment
This commit is contained in:
parent
07612e4a1b
commit
1055e69213
9
fabfile.py
vendored
9
fabfile.py
vendored
@ -13,6 +13,9 @@ def doesitsparkjoy(c):
|
||||
print('Released <3')
|
||||
|
||||
@task
|
||||
def voicegardens(c):
|
||||
"""Release voicegardens.org."""
|
||||
pass # TODO
|
||||
def cleanarchives(c):
|
||||
"""Release doesitsparkjoy.voicegardens.org."""
|
||||
print('Removing the doesitsparkjoy.voicegardens.org archives ...')
|
||||
with c.cd('/var/www/doesitsparkjoy.voicegardens.org'):
|
||||
c.run('rm -rf ./voicegardens/archive/*')
|
||||
print('Deleted <3')
|
||||
|
Loading…
Reference in New Issue
Block a user