|
@ -8,7 +8,7 @@ def doesitsparkjoy(c): |
|
|
print('Releasing doesitsparkjoy.voicegardens.org ...') |
|
|
print('Releasing doesitsparkjoy.voicegardens.org ...') |
|
|
with c.cd('/var/www/doesitsparkjoy.voicegardens.org'): |
|
|
with c.cd('/var/www/doesitsparkjoy.voicegardens.org'): |
|
|
c.run('git pull origin master') |
|
|
c.run('git pull origin master') |
|
|
c.run('sudo supervisorctl restart doesitsparkjoy') |
|
|
c.run('sudo supervisorctl restart apps:doesitsparkjoy') |
|
|
c.run('sudo systemctl restart nginx') |
|
|
c.run('sudo systemctl restart nginx') |
|
|
c.run('sh bin/clear-archives') |
|
|
c.run('sh bin/clear-archives') |
|
|
c.run('sh bin/copy-fixed-archive') |
|
|
c.run('sh bin/copy-fixed-archive') |
|
@ -20,7 +20,7 @@ def voicegardens(c): |
|
|
print('Releasing voicegardens.org ...') |
|
|
print('Releasing voicegardens.org ...') |
|
|
with c.cd('/var/www/voicegardens.org'): |
|
|
with c.cd('/var/www/voicegardens.org'): |
|
|
c.run('git pull origin master') |
|
|
c.run('git pull origin master') |
|
|
c.run('sudo supervisorctl restart voicegardens') |
|
|
c.run('sudo supervisorctl restart apps:voicegardens') |
|
|
c.run('sudo systemctl restart nginx') |
|
|
c.run('sudo systemctl restart nginx') |
|
|
c.run('sh bin/clear-archives') |
|
|
c.run('sh bin/clear-archives') |
|
|
c.run('sh bin/copy-fixed-archive') |
|
|
c.run('sh bin/copy-fixed-archive') |
|
|