mirror of
https://github.com/cupcakearmy/drone-deploy.git
synced 2024-12-22 08:16:32 +00:00
if envs is not set
This commit is contained in:
parent
881f4e6900
commit
f922370c6c
1
main.py
1
main.py
@ -54,6 +54,7 @@ def main():
|
|||||||
|
|
||||||
# Remote Envs
|
# Remote Envs
|
||||||
envsraw = os.environ.get('PLUGIN_ENVS')
|
envsraw = os.environ.get('PLUGIN_ENVS')
|
||||||
|
envs = None
|
||||||
if envsraw is not None:
|
if envsraw is not None:
|
||||||
prefix = 'PLUGIN_'
|
prefix = 'PLUGIN_'
|
||||||
# Take only the envs that start with PLUGIN_ and remore the prefix
|
# Take only the envs that start with PLUGIN_ and remore the prefix
|
||||||
|
Loading…
Reference in New Issue
Block a user