Add deploy script

This commit is contained in:
Nikolai Kristiansen
2017-09-25 14:28:33 +02:00
parent ec5f47abc8
commit cbbc32a73e
2 changed files with 14 additions and 1 deletions

13
fabfile.py vendored Normal file
View File

@@ -0,0 +1,13 @@
from fabric.api import cd, env, run
env.use_ssh_config = True
env.hosts = ['dreamcast.neuf.no']
env.project_path = '/var/www/neuf.no/edb/edb-www'
env.user = 'gitdeploy'
def deploy():
with cd(env.project_path):
run('git pull')
# run('yarn')
# run('gulp')