Add run-time variable to skip ENVs validation (#2334)

Add run-time variable to skip ENV validation
This commit is contained in:
tom goriunov
2024-10-29 08:18:48 +01:00
committed by GitHub
parent 7100ea869c
commit 98547e38db
+8 -3
View File
@@ -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