From 163d43f950e93e82021823b602409fd973592bbb Mon Sep 17 00:00:00 2001
From: liliana <liliana.sanfilippo@uni-bielefeld.de>
Date: Fri, 5 Jul 2024 15:46:05 +0200
Subject: [PATCH] added Ensure the output directory is renamed to public and
 deleted second index.html file

---
 .gitlab-ci.yml  |  1 +
 dist/index.html | 21 ---------------------
 2 files changed, 1 insertion(+), 21 deletions(-)
 delete mode 100644 dist/index.html

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 57ec343f..80b89166 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,6 +31,7 @@ pages:
     - yarn install --frozen-lockfile
   script:
     - yarn build
+    - mv dist public #Ensure the output directory is renamed to public
   artifacts:
     paths:
       - public
diff --git a/dist/index.html b/dist/index.html
deleted file mode 100644
index 06a55bb8..00000000
--- a/dist/index.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!doctype html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link
-      rel="shortcut icon"
-      href="https://static.igem.wiki/common/icons/favicons/igem-2022.svg"
-      type="image/x-icon"
-    />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <!-- <script type="text/javascript" defer src="./assets/js/mapscript.js" charset="utf-8">
-        </script> -->
-    <title>Bielefeld-CeBiTec - iGEM 2024</title>
-    <script type="module" crossorigin src="/bielefeld-cebitec/assets/index-pOqUY_gz.js"></script>
-    <link rel="stylesheet" crossorigin href="/bielefeld-cebitec/assets/index-CZpcf1pR.css">
-  </head>
-  <body>
-    <div id="root"></div>
-  </body>
-</html>
-
-- 
GitLab