1
0
Fork 0

👷 Updates CI to use correct gitmoji

This commit is contained in:
Bjorn Lammers 2024-04-03 13:06:39 +02:00
parent d2c490a2c1
commit 2904ba565e
2 changed files with 7 additions and 7 deletions

View File

@ -28,5 +28,5 @@ jobs:
git config --global user.email "noreply@walkx.fyi"
git config --global user.name "Dashboard Icons Bot"
git add -A
git commit -m ":rocket: Generates ICONS" || exit 0
git commit -m ":construction_worker: Generates ICONS.md" || exit 0
git push

View File

@ -2,9 +2,9 @@ name: 🗜️ PNG Compression
on:
schedule:
- cron: '0 0 * * 0'
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
compress-images:
runs-on: ubuntu-latest
@ -15,18 +15,18 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y zopfli
- name: Compress PNGs
run: |
echo "🖼️ Compressing PNGs..."
echo "Compressing PNGs..."
find png/ -iname "*.png" -print0 | xargs -0 -P 4 -I{} sh -c 'echo "Compressing {}"; zopflipng -y {} {}' || 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 PNGs" || exit 0
git commit -m ":children_crossing: Compresses PNGs" || exit 0
git pull --ff-only
git push