mirror of
https://github.com/cupcakearmy/drone-deploy.git
synced 2025-09-04 04:30:39 +00:00
if envs is not set
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user