mirror of
https://github.com/tiennm99/old-free-domains.git
synced 2026-10-15 12:14:38 +00:00
Update validation.yml
This commit is contained in:
1 parent
e9388cf4d1
commit
6dfcb30baf
1 file changed
+5
-1
@@ -59,9 +59,13 @@ jobs:
|
||||
echo "Validating $email in $filename"
|
||||
|
||||
result=$(node scripts/validate-email/dist/index.js --email "$email")
|
||||
echo "Raw response: $result"
|
||||
|
||||
fixed_result=$(echo "$result" | jq '.')
|
||||
|
||||
if [[ $(echo "$fixed_result" | jq -r '.success') == "false" ]]; then
|
||||
success=$(echo "$fixed_result" | jq -r '.success')
|
||||
|
||||
if [[ "$success" == "false" == "false" ]]; then
|
||||
echo "::error::FAIL $email $filename"
|
||||
echo "FAIL $email $filename" >> failed_validations.txt
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user