edit workflow

This commit is contained in:
Hadi
2025-03-27 10:23:15 +01:00
parent f1b7324fb2
commit 94029a7ea1
+2 -1
View File
@@ -49,7 +49,8 @@ jobs:
fi fi
if [[ $basename == *"_animated"* ]]; then if [[ $basename == *"_animated"* ]]; then
if [ ! -f "${basename}*.png" ] && [ ! -f "${basename}*.jpg" ]; then t=$(echo "$basename" | sed 's/_static/_animated/')
if [ ! -f "${t}.png" ] && [ ! -f "${t}.jpg" ]; then
echo "❌ Error: $file has a animated tag but no png or jpg file" echo "❌ Error: $file has a animated tag but no png or jpg file"
exit 1 exit 1
fi fi