summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/parsers/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitautodeploy/parsers/common.py')
-rw-r--r--gitautodeploy/parsers/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitautodeploy/parsers/common.py b/gitautodeploy/parsers/common.py
index e999a25..0a1a799 100644
--- a/gitautodeploy/parsers/common.py
+++ b/gitautodeploy/parsers/common.py
@@ -16,7 +16,7 @@ class WebhookRequestParser(object):
for repo_config in self._config['repositories']:
if repo_config in configs:
continue
- if repo_config.get('repo', repo_config.get('url')) == url:
+ if repo_config.get('match-url', repo_config.get('url')) == url:
configs.append(repo_config)
elif 'url_without_usernme' in repo_config and repo_config['url_without_usernme'] == url:
configs.append(repo_config)