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')
|
print('Released <3')
|
||||||
|
|
||||||
@task
|
@task
|
||||||
def voicegardens(c):
|
def cleanarchives(c):
|
||||||
"""Release voicegardens.org."""
|
"""Release doesitsparkjoy.voicegardens.org."""
|
||||||
pass # TODO
|
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