From d9aacaec58f63b6c95af3d8c906b0ef77d898f2a Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Fri, 3 Apr 2026 09:52:04 +0200 Subject: [PATCH] fix(ci): use default GH page url to test actual links Signed-off-by: skjnldsv --- build/verify-index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/verify-index.php b/build/verify-index.php index cae3052b021..73fd9aec13d 100644 --- a/build/verify-index.php +++ b/build/verify-index.php @@ -9,13 +9,14 @@ * - Relative documentation links point to existing files * * Environment Variables: - * - VERIFY_DOCS_BASE_URL: Base URL for documentation files (default: https://docs.nextcloud.com) + * - VERIFY_DOCS_BASE_URL: Base URL for documentation files (default: https://nextcloud.github.io/documentation/) * Set to empty string to skip file existence checks */ -$html_file = 'build/index.html'; -$base_url = getenv('VERIFY_DOCS_BASE_URL') ?: 'https://docs.nextcloud.com'; +# If custom domain is enabled, this should still handle the redirection +$base_url = getenv('VERIFY_DOCS_BASE_URL') ?: 'https://nextcloud.github.io/documentation/'; +$html_file = 'build/index.html'; if (!file_exists($html_file)) { fwrite(STDERR, "⚠️ $html_file not found\n"); exit(0);