Skip to content

Commit

Permalink
fix: wrong line break for multiple secrets in deploy script (#3060)
Browse files Browse the repository at this point in the history
Co-authored-by: higherordertech <higherordertech>
  • Loading branch information
higherordertech authored Sep 13, 2024
1 parent 15cd016 commit c2f59df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fi

if [ ${#SECRET_VALUES[@]} -gt 0 ]; then
# Join array elements with line break for the environment variable
export SECRETS=$(IFS=$'\n'; echo ${SECRET_VALUES[*]})
export SECRETS=$(printf "%s\n" ${SECRET_VALUES[*]})
else
unset SECRETS
fi
Expand Down

0 comments on commit c2f59df

Please sign in to comment.