Skip to content

Commit

Permalink
double quotes in NEXT_PUBLIC_MAINTENANCE_ALERT_MESSAGE cause an error (
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum authored Oct 16, 2023
1 parent c186713 commit 9c51fb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/scripts/make_envs_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ for var in $(env | grep '^NEXT_PUBLIC_' | cut -d= -f1); do
# Get the value of the variable
value="${!var}"

# Replace double quotes with single quotes
value="${value//\"/\'}"

# Write the variable name and value to the output file
echo "${var}: \"${value}\"," >> "$output_file"
done
Expand Down

0 comments on commit 9c51fb4

Please sign in to comment.