diff --git a/fabfile.py b/fabfile.py index 6bede4c..bc422bb 100644 --- a/fabfile.py +++ b/fabfile.py @@ -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") diff --git a/makefile b/makefile index 9cb2197..573fc5e 100644 --- a/makefile +++ b/makefile @@ -9,4 +9,4 @@ serve: .PHONY: hbbs hbbs: - @fab -H $(REMOTE_HOST) doesitsparkjoy + @fab -H $(REMOTE_HOST) hbbs