diff options
Diffstat (limited to 'gitautodeploy/wrappers/git.py')
-rw-r--r-- | gitautodeploy/wrappers/git.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gitautodeploy/wrappers/git.py b/gitautodeploy/wrappers/git.py index ec4246e..63a94fc 100644 --- a/gitautodeploy/wrappers/git.py +++ b/gitautodeploy/wrappers/git.py @@ -54,5 +54,8 @@ class GitWrapper(): # Use repository path as default cwd when executing deploy commands cwd = (repo_config['path'] if 'path' in repo_config else None) + res = [] for cmd in repo_config['deploy_commands']: - ProcessWrapper().call([cmd], cwd=cwd, shell=True)
\ No newline at end of file + res.append(ProcessWrapper().call([cmd], cwd=cwd, shell=True)) + + return res
\ No newline at end of file |