diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 079c50fcd3866e6883b8ced7c0d844ae4890b6ad..0d4144c7060bbb92168906d8a2227e624ec74814 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