Skip to content

Commit

Permalink
Add run-time variable to skip ENVs validation (#2334)
Browse files Browse the repository at this point in the history
Add run-time variable to skip ENV validation
  • Loading branch information
tom2drum authored Oct 29, 2024
1 parent 70b2a69 commit 5231d04
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions deploy/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@ export_envs_from_preset
./download_assets.sh ./public/assets/configs

# Check run-time ENVs values
./validate_envs.sh
if [ $? -ne 0 ]; then
exit 1
if [ "$SKIP_ENVS_VALIDATION" != "true" ]; then
./validate_envs.sh
if [ $? -ne 0 ]; then
exit 1
fi
else
echo "😱 Skipping ENVs validation."
echo
fi

# Generate favicons bundle
Expand Down

0 comments on commit 5231d04

Please sign in to comment.