From e573cb39ef4ac7e43b504609e2dc73fdf44b9c44 Mon Sep 17 00:00:00 2001
From: Ghislain Durif <gd.dev@libertymail.net>
Date: Wed, 11 Oct 2023 10:15:54 +0200
Subject: [PATCH] enable quarto build in gitlab CI

---
 .gitlab-ci.yml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f387292..bb170f2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,13 +1,13 @@
-# This file is a template, and might need editing before it works on your project.
-# Full project: https://gitlab.com/pages/plain-html
-
 pages:
   stage: deploy
-  image: carinerey/r_for_beginners
+  image: rocker/tidyverse
   script:
-    - mkdir -p public/
-    - cp -R img public/
-    - make
+    - quarto -v
+    - |
+      quarto render
+      mkdir public
+      cp -r _book/* public/
+  interruptible: true
   artifacts:
     paths:
       - public
-- 
GitLab