From 415b945e18e1a9023b0888331e6f947cee456b71 Mon Sep 17 00:00:00 2001
From: Philip Makedonski <makedonski@cs.uni-goettingen.de>
Date: Thu, 2 Nov 2023 20:25:32 +0100
Subject: [PATCH] * re-enabled persistent release channels

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a932146..6ae42335 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -242,21 +242,21 @@ pages:
     - apt-cache gencaches
     - apt install -y zip unzip
     - zip --help
-    # - set +e
-    # - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip"
-    # - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi
-    # - set -e
+    - set +e
+    - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip"
+    - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi
+    - set -e
     # Cleanup content? -> remove content in release path?
     # Add/update content
     - echo $CI_PAGES_URL
     - echo $RELEASE_PATH
     - mkdir -p $RELEASE_PATH
-    # - rm -rf $RELEASE_PATH/*
+    - rm -rf $RELEASE_PATH/*
     - cp -r -f $SITE_PATH/* $RELEASE_PATH
     - ls -la $RELEASE_PATH
     # Zip the content and publish the zip again
-    # - zip -r "content.zip" "public"
-    # - mv "content.zip" "public/"
+    - zip -r "content.zip" "public"
+    - mv "content.zip" "public/"
     # - mv $SITE_ARCHIVE $RELEASE_PATH/content.zip
   artifacts:
     paths:
-- 
GitLab