From 23e85becd3131317e6d008a3aa82a10aa2a9d99b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20PAILHAREY?= <rpailharey@grandlyon.com> Date: Tue, 20 Feb 2024 13:40:37 +0000 Subject: [PATCH] fix(assets): fixed height for all assets --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9068458..e61f34d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,14 +36,14 @@ import-convert-assets: - curl "https://forge.grandlyon.com/api/v4/projects/409/repository/archive?path=src/assets/icons/email&sha=$ECOLYO_ASSETS_BRANCH" --output email.tar.gz - tar -xf email.tar.gz - cd *-email/src/assets/icons/email - - for file in *.svg; do inkscape --export-type="png" $file; done + - for file in *.svg; do inkscape -h 200 --export-type="png" $file; done - rm *.svg - cd ~ # Fetch and convert ecogesture assets - curl "https://forge.grandlyon.com/api/v4/projects/409/repository/archive?path=src/assets/icons/visu/ecogesture&sha=$ECOLYO_ASSETS_BRANCH" --output ecogesture.tar.gz - tar -xf ecogesture.tar.gz - cd *-ecogesture/src/assets/icons/visu/ecogesture - - for file in *.svg; do inkscape --export-type="png" $file; done + - for file in *.svg; do inkscape -h 200 --export-type="png" $file; done - rm *.svg # Cleanup - cd ~ -- GitLab