This commit is contained in:
@@ -6,6 +6,6 @@ from os import getenv
|
|||||||
def handle_config(config):
|
def handle_config(config):
|
||||||
INPUT_REF = getenv('INPUT_REF')
|
INPUT_REF = getenv('INPUT_REF')
|
||||||
if len(INPUT_REF)==0:
|
if len(INPUT_REF)==0:
|
||||||
config['ref'] = 'refs/heads/' + getenv('GITHUB_REF_NAME')
|
config['ref'] = getenv('GITHUB_REF_NAME')
|
||||||
else:
|
else:
|
||||||
config['ref'] = 'refs/heads/' + INPUT_REF
|
config['ref'] = INPUT_REF
|
||||||
|
|||||||
Reference in New Issue
Block a user