diff --git a/.github/workflows/optimize-images.yml b/.github/workflows/optimize-images.yml index c3b6a30..1ef4e50 100644 --- a/.github/workflows/optimize-images.yml +++ b/.github/workflows/optimize-images.yml @@ -17,7 +17,7 @@ jobs: - name: Optimize PNG files run: | - find . -type f -name "*.png" ! -path "./.git/*" -exec optipng -o7 {} + + find . -type f -name "*.png" ! -path "./.git/*" -exec optipng -o7 -np {} + - name: Check for changes run: |