diff --git a/executor/handlers/config.py b/executor/handlers/config.py index b673cfd..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'] = 'refs/heads/' + getenv('GITHUB_REF_NAME') + config['ref'] = getenv('GITHUB_REF_NAME') else: - config['ref'] = 'refs/heads/' + INPUT_REF + config['ref'] = INPUT_REF