A place to inform on the world wide web https://hbbs.decentral1.se
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
299 B

"""Deployment with Fabric."""
from fabric import task
@task
def hbbs(c):
"""Release hbbs.decentral1.se."""
with c.cd("/var/www/hbbs.decentral1.se"):
c.run("git pull origin master")
c.run("sudo supervisorctl restart apps:hbbs")
c.run("sudo systemctl reload nginx")