mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Make new_stack_envvars local
This commit is contained in:
parent
7c5e9e9b57
commit
b0b59385f1
1
psu
1
psu
@ -391,6 +391,7 @@ deploy() {
|
||||
local stack_envvars
|
||||
stack_envvars="$(echo -n "$STACK" | jq ".Env" -jc)"
|
||||
if [ -n "$ENVIRONMENT_VARIABLES_FILE" ]; then
|
||||
local new_stack_envvars
|
||||
new_stack_envvars=$(env_file_to_json)
|
||||
stack_envvars="$(echo -n "${new_stack_envvars}${stack_envvars}" | jq -sjc 'add | unique_by(.name)')"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user