diff --git a/fabfile.py b/fabfile.py index 02f765a..a4f6456 100644 --- a/fabfile.py +++ b/fabfile.py @@ -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') diff --git a/makefile b/makefile index d1951d7..c6e5a45 100644 --- a/makefile +++ b/makefile @@ -17,5 +17,5 @@ clear-archive: doesitsparkjoy: @fab -H $(REMOTE_HOST) doesitsparkjoy -voicegardens: - @fab -H $(REMOTE_HOST) voicegardens +cleanarchives: + @fab -H $(REMOTE_HOST) cleanarchives