Fix paths once again, add scripts to deploy
This commit is contained in:
parent
26fd9170b3
commit
744cc532ea
@ -4,7 +4,7 @@ echo "Spitting out todays date and time ..."
|
||||
date
|
||||
|
||||
echo "Copying over the doesitsparkjoy.voicegardens.org fixed archive ..."
|
||||
cp /var/www/doesitsparkjoy.voicegardens.org/voicegardens/fixed-archive/* /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive
|
||||
cp /var/www/doesitsparkjoy.voicegardens.org/voicegardens/fixed-archive/* /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/
|
||||
|
||||
echo "Copying over the voicegardens.org fixed archive ..."
|
||||
cp /var/www/voicegardens.org/voicegardens/fixed-archive/* /var/www/voicegardens.org/voicegardens/archive
|
||||
cp /var/www/voicegardens.org/voicegardens/fixed-archive/* /var/www/voicegardens.org/voicegardens/archive/
|
||||
|
4
fabfile.py
vendored
4
fabfile.py
vendored
@ -10,6 +10,8 @@ def doesitsparkjoy(c):
|
||||
c.run('git pull origin master')
|
||||
c.run('sudo supervisorctl restart doesitsparkjoy')
|
||||
c.run('sudo systemctl restart nginx')
|
||||
c.run('sh bin/clear-archives')
|
||||
c.run('sh bin/copy-fixed-archive')
|
||||
print('Released <3')
|
||||
|
||||
@task
|
||||
@ -20,6 +22,8 @@ def voicegardens(c):
|
||||
c.run('git pull origin master')
|
||||
c.run('sudo supervisorctl restart voicegardens')
|
||||
c.run('sudo systemctl restart nginx')
|
||||
c.run('sh bin/clear-archives')
|
||||
c.run('sh bin/copy-fixed-archive')
|
||||
print('Released <3')
|
||||
|
||||
@task
|
||||
|
Loading…
Reference in New Issue
Block a user