diff options
-rw-r--r-- | fabfile.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fabfile.py b/fabfile.py new file mode 100644 index 0000000..335105e --- /dev/null +++ b/fabfile.py @@ -0,0 +1,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") |