diff options
Diffstat (limited to 'gitautodeploy/gitautodeploy.py')
-rw-r--r-- | gitautodeploy/gitautodeploy.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gitautodeploy/gitautodeploy.py b/gitautodeploy/gitautodeploy.py index 3b7660e..1a04b5a 100644 --- a/gitautodeploy/gitautodeploy.py +++ b/gitautodeploy/gitautodeploy.py @@ -98,6 +98,13 @@ class GitAutoDeploy(object): for repo_config in self._config['repositories']: # Only clone repositories with a configured path + if 'url' not in repo_config: + logger.critical("Repository has no configured URL") + self.close() + self.exit() + return + + # Only clone repositories with a configured path if 'path' not in repo_config: logger.info("Repository %s will not be cloned (no path configured)" % repo_config['url']) continue |