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.email "noreply@walkx.fyi"
git config --global user.name "Dashboard Icons Bot" git config --global user.name "Dashboard Icons Bot"
git add -A git add -A
git commit -m ":rocket: Generates ICONS" || exit 0 git commit -m ":construction_worker: Generates ICONS.md" || exit 0
git push git push

View File

@ -2,9 +2,9 @@ name: 🗜️ PNG Compression
on: on:
schedule: schedule:
- cron: '0 0 * * 0' - cron: "0 0 * * 0"
workflow_dispatch: workflow_dispatch:
jobs: jobs:
compress-images: compress-images:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -15,18 +15,18 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y zopfli sudo apt-get install -y zopfli
- name: Compress PNGs - name: Compress PNGs
run: | run: |
echo "🖼️ Compressing PNGs..." echo "Compressing PNGs..."
find png/ -iname "*.png" -print0 | xargs -0 -P 4 -I{} sh -c 'echo "Compressing {}"; zopflipng -y {} {}' || true find png/ -iname "*.png" -print0 | xargs -0 -P 4 -I{} sh -c 'echo "Compressing {}"; zopflipng -y {} {}' || true
- name: Load to GitHub - name: Load to GitHub
run: |- run: |-
git diff git diff
git config --global user.email "noreply@walkx.fyi" git config --global user.email "noreply@walkx.fyi"
git config --global user.name "Dashboard Icons Bot" git config --global user.name "Dashboard Icons Bot"
git add -A 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 pull --ff-only
git push git push