diff --git a/executor/handlers/config.py b/executor/handlers/config.py index 847166e..8da98e7 100644 --- a/executor/handlers/config.py +++ b/executor/handlers/config.py @@ -6,6 +6,6 @@ from os import getenv def handle_config(config): INPUT_REF = getenv('INPUT_REF') if len(INPUT_REF)==0: - config['ref'] = getenv['GITHUB_REF_NAME'] + config['ref'] = getenv('GITHUB_REF_NAME') else: config['ref'] = INPUT_REF