-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,5 +28,5 @@ jobs: | |
git config --global user.email "[email protected]" | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
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 |