mirror of
https://github.com/homarr-labs/dashboard-icons.git
synced 2025-02-16 10:04:13 +01:00
👷 Updates CI to use correct gitmoji
This commit is contained in:
parent
d2c490a2c1
commit
2904ba565e
2 changed files with 7 additions and 7 deletions
2
.github/workflows/icons-page-generation.yml
vendored
2
.github/workflows/icons-page-generation.yml
vendored
|
@ -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
|
||||||
|
|
12
.github/workflows/png-compression.yml
vendored
12
.github/workflows/png-compression.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue