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 c52e5a8 commit 2518d50Copy full SHA for 2518d50
1 file changed
.github/workflows/optimize-images.yml
@@ -41,7 +41,7 @@ jobs:
41
git checkout $GITHUB_HEAD_REF
42
43
echo "List the files that changed"
44
- git diff --name-only $GITHUB_HEAD_REF $GITHUB_BASE_REF
+ 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
0 commit comments