From bd6c30f6d4da090b1212cd8406c7eb245284c7df Mon Sep 17 00:00:00 2001
From: Jan Bernoth <jan.bernoth@uni-potsdam.de>
Date: Mon, 24 Apr 2023 22:47:50 +0200
Subject: [PATCH] Pages: copy game folder to public

---
 .gitlab-ci.yml | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8db834c..e3d959c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,16 +1,13 @@
 stages:
   - build
 
-before_script:
-  - npm install
-
-build:
-  image: node:latest
+pages:
+  image: alpine:latest
   stage: build
   script:
-    - npm run build
-    - cp -r ./dist/ ./public/
-
+    - cp -r ./game/ ./public/
   artifacts:
     paths:
      - public
+  only:
+    - main
\ No newline at end of file
-- 
GitLab