Skip to content

Commit d26fdfe

Browse files
committedNov 26, 2024··
Exit gracefully
1 parent d6c3b5c commit d26fdfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/check-site-url.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ check_site_url() {
2525
return 0
2626
fi
2727
echo "::warning file=config/hyde.php,line=$line_number,title=Missing Site URL::The site URL is set to localhost in your configuration file. Consider setting a production URL."
28-
return 1
28+
return 0
2929
fi
3030
fi
3131

3232
echo "::warning title=Missing Site URL::No SITE_URL environment variable found. It's recommended to set a production URL for your site. You can set it using the 'env' input with 'SITE_URL=https://example.com'"
33-
return 1
33+
return 0
3434
}
3535

3636
# Show warning if SITE_URL is not properly set

0 commit comments

Comments
 (0)
Please sign in to comment.