Fix deploy paths
This commit is contained in:
parent
c9a745e899
commit
a196e39d4e
2
fabfile.py
vendored
2
fabfile.py
vendored
@ -6,7 +6,7 @@ from fabric import task
|
||||
@task
|
||||
def hbbs(c):
|
||||
"""Release hbbs.decentral1.se."""
|
||||
with c.cd("/var/www/hbbs.decentral1.se"):
|
||||
with c.cd("/var/www/hbbs"):
|
||||
c.run("sudo -su www-data git pull origin master")
|
||||
c.run("sudo supervisorctl restart apps:hbbs")
|
||||
c.run("sudo systemctl reload nginx")
|
||||
|
Loading…
Reference in New Issue
Block a user