From 681548949f688334bf9ac8d2990c48d48413f0d2 Mon Sep 17 00:00:00 2001
From: Etienne Kornobis <ekornobis@gmail.com>
Date: Tue, 21 May 2024 11:08:03 +0200
Subject: [PATCH] update pages ci

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9041087..3019ff9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,23 +4,17 @@ stages:
   - build
   - deploy
 
-variables:
-  PAGES: $CI_PROJECT_DIR/public
-
 before_script:
   - pip install jupyter nbconvert
 
 build_notebooks:
   stage: build
   script:
-    - mkdir -p $PAGES
-    - jupyter nbconvert --to html notebooks/*.ipynb --output-dir=$PAGES
+    - mkdir -p public
+    - jupyter nbconvert --to html notebooks/*.ipynb --output-dir=public
 
 pages:
   stage: deploy
-  script:
-    - mkdir -p public
-    - cp -r $PAGES/* public
   artifacts:
     paths:
       - public
-- 
GitLab