We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8b0989 commit 7844d65Copy full SHA for 7844d65
1 file changed
.github/workflows/optimize-images.yml
@@ -44,7 +44,7 @@ jobs:
44
git diff --name-only --diff-filter=d $GITHUB_BASE_REF $GITHUB_HEAD_REF
45
46
echo "Run optipng on pngs in from the diff"
47
- git diff --name-only -z $GITHUB_HEAD_REF $GITHUB_BASE_REF -- '*.png' | xargs -0 optipng -nx
+ git diff --name-only -z --diff-filter=d $GITHUB_BASE_REF $GITHUB_HEAD_REF -- '*.png' | xargs -0 optipng -nx
48
49
- name: Make a commit and a push
50
run: |
0 commit comments