From 278777a0cfa091d6193e458aeb43ac9ca311781b Mon Sep 17 00:00:00 2001 From: Bjorn Lammers Date: Wed, 7 Jun 2023 13:43:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Deletes=20broken=20SVG=20compres?= =?UTF-8?q?sion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjorn Lammers --- .github/workflows/svg-compression.yml | 32 --------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/svg-compression.yml diff --git a/.github/workflows/svg-compression.yml b/.github/workflows/svg-compression.yml deleted file mode 100644 index 5e8749f..0000000 --- a/.github/workflows/svg-compression.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: 🗜️ SVG Compression - -on: - schedule: - - cron: '0 0 * * 0' - workflow_dispatch: - -jobs: - compress-images: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Install Dependencies - run: | - sudo apt-get update - sudo npm install -g svgo - - - name: Compress SVGs - run: | - echo "🎨 Compressing SVGs..." - find svg/ -iname "*.svg" -print0 | xargs -0 -P 4 -I{} sh -c 'echo "Compressing {}"; svgo --quiet --multipass {}' || true - - - name: Load to GitHub - run: |- - git diff - git config --global user.email "noreply@walkx.fyi" - git config --global user.name "Dashboard Icons Bot" - git add -A - git commit -m ":clamp: Compresses SVGs" || exit 0 - git pull --ff-only - git push