summaryrefslogtreecommitdiffstats
path: root/fabfile.py
blob: 335105efbd91c98edd2489a05175a6ececc1cb68 (plain)
1
2
3
4
5
6
7
8
9
10
from fabric.api import run, cd, env, task

env.hosts = ['theos.kyriasis.com']

@task(default=True)
def deploy():
	code_dir = 'code/website'
	with cd(code_dir):
		run("git pull")
		run("make")