Skip to content

Commit

Permalink
fix: wrong line break for multiple secrets in deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
higherordertech authored and higherordertech committed Sep 12, 2024
1 parent 15cd016 commit 44595f0
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 44595f0

Please sign in to comment.