Fix deploy paths

This commit is contained in:
Luke Murphy 2020-04-04 19:35:02 +02:00
parent c9a745e899
commit a196e39d4e
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 2 additions and 2 deletions

2
fabfile.py vendored
View File

@ -6,7 +6,7 @@ from fabric import task
@task @task
def hbbs(c): def hbbs(c):
"""Release hbbs.decentral1.se.""" """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 -su www-data git pull origin master")
c.run("sudo supervisorctl restart apps:hbbs") c.run("sudo supervisorctl restart apps:hbbs")
c.run("sudo systemctl reload nginx") c.run("sudo systemctl reload nginx")

View File

@ -9,4 +9,4 @@ serve:
.PHONY: hbbs .PHONY: hbbs
hbbs: hbbs:
@fab -H $(REMOTE_HOST) doesitsparkjoy @fab -H $(REMOTE_HOST) hbbs