Update to use health endpoint check
This commit is contained in:
@@ -39,14 +39,6 @@ assert_env_equals "FILE_MULTILINE_SECRET" "${MULTILINE_SECRET}"
|
||||
|
||||
# WEBSITE/FILE_WEBSITE: required when ASSERT_WEBSITE=true (Service Account), skipped when false (Connect)
|
||||
if [ "${ASSERT_WEBSITE:-false}" = "true" ]; then
|
||||
if [ -z "$(printenv WEBSITE 2>/dev/null)" ]; then
|
||||
echo "Expected WEBSITE to be set (Service Account)"
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "$(printenv FILE_WEBSITE 2>/dev/null)" ]; then
|
||||
echo "Expected FILE_WEBSITE to be set (Service Account)"
|
||||
exit 1
|
||||
fi
|
||||
assert_env_equals "WEBSITE" "${WEBSITE}"
|
||||
assert_env_equals "FILE_WEBSITE" "${WEBSITE}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user