mirror of
https://github.com/anotherhadi/awesome-wallpapers.git
synced 2026-10-05 10:18:26 +02:00
edit workflow
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
||||
fi
|
||||
|
||||
if [[ $basename == *"_animated"* ]]; then
|
||||
t=$(echo "$basename" | sed 's/_static/_animated/')
|
||||
t=$(echo "$basename" | sed 's/animated/static/')
|
||||
if [ ! -f "${t}.png" ] || [ ! -f "${t}.jpg" ]; then
|
||||
echo "❌ Error: $file has a animated tag but no png or jpg file"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user