From db511643f8f783a35cc1a9ed7e7866adcbb90140 Mon Sep 17 00:00:00 2001
From: Jason Kridner <jkridner@beagleboard.org>
Date: Tue, 23 Jan 2024 15:30:52 -0500
Subject: [PATCH] ci: redir hacking

---
 gitlab-build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gitlab-build.sh b/gitlab-build.sh
index 5f210ae6..93643e37 100755
--- a/gitlab-build.sh
+++ b/gitlab-build.sh
@@ -34,7 +34,7 @@ EOF
 
 	if [ "x$1" == "xhtml" ]; then
 		mkdir -p public/html
-		cat <<HERE > public/html/index.html
+		cat <<HERE > public/html/redir.html
 <!DOCTYPE html>
 <html>
   <head>
@@ -70,6 +70,7 @@ HERE
 	if [ "x$1" == "xpublish" ]; then
 		# Move files
 		mkdir -p public/$VER_DIR/
+		mv public/html/redir.html public/index.html
 		mv public/html/* public/$VER_DIR/
 		mv public/pdf/beagleboard-docs.pdf public/$VER_DIR/
 
-- 
GitLab