From 1544b1aec21c9cb5dc7ea86570cf4f20f6ae6b65 Mon Sep 17 00:00:00 2001
From: 506487 <506487@mail.muni.cz>
Date: Tue, 25 Jan 2022 14:43:37 +0100
Subject: [PATCH] fix(image rotation menu title) - part 2

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 079c50f..0d4144c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,7 +22,8 @@ deploy_cpanel:
   - echo "{{</csv-table>}}" >> content/cloud/flavors/index.md
   - cat content/cloud/flavors/index.md
   - sed -i -e "s/BUILDIDTAG/$CI_COMMIT_SHORT_SHA/g" ./layouts/partials/site-footer.html
-  - 'curl https://cloud.gitlab-pages.ics.muni.cz/image-rotation/image-rotation-journal.md | grep -v "# Image rotation news" | sponge "content/cloud/image-rotation/index.md"'
+  - curl https://cloud.gitlab-pages.ics.muni.cz/image-rotation/image-rotation-journal.md >> content/cloud/image-rotation/index.md
+  - grep -v "# Image rotation news" content/cloud/image-rotation/index.md | sponge content/cloud/image-rotation/index.md
   - python3 ci/image_rotation_news_gen.py 
   - hugo --config config.toml -D --destination=./public 
 
-- 
GitLab