kopia lustrzana https://github.com/piku/piku
Check out git submodules. (#36)
Git submodules can be a convenient way of including some 3rd party dependency/repo in your app. With this change piku automatically checks out any submodules included in the repository.pull/35/head^2
rodzic
c8328a3d93
commit
0ef930f57d
2
piku.py
2
piku.py
|
@ -316,6 +316,8 @@ def do_deploy(app, deltas={}):
|
|||
echo("-----> Deploying app '{}'".format(app), fg='green')
|
||||
call('git pull --quiet', cwd=app_path, env=env, shell=True)
|
||||
call('git checkout -f', cwd=app_path, env=env, shell=True)
|
||||
call('git submodule init', cwd=app_path, env=env, shell=True)
|
||||
call('git submodule update', cwd=app_path, env=env, shell=True)
|
||||
if not exists(log_path):
|
||||
makedirs(log_path)
|
||||
workers = parse_procfile(procfile)
|
||||
|
|
Ładowanie…
Reference in New Issue