update CICD
All checks were successful
Deploy to Production / deploy (push) Successful in 10s

This commit is contained in:
silverpro89
2026-01-27 19:21:23 +07:00
parent 0dfc90bb2a
commit e16270b455

View File

@@ -59,7 +59,7 @@ jobs:
DEPLOYED_URLS="$DEPLOYED_URLS\n 🔗 $GAME_URL" DEPLOYED_URLS="$DEPLOYED_URLS\n 🔗 $GAME_URL"
# Get thumbnail (first image found or default) # Get thumbnail (first image found or default)
THUMBNAIL=$(find "$folder" -type f \( -name "*.png" -o -name "*.jpg" -o -name "*.jpeg" \) | head -n 1) THUMBNAIL=$(find "$folder" -type f \( -name "*.png" -o -name "*.jpg" -o -name "*.jpeg" \) 2>/dev/null | head -n 1 || true)
if [ -z "$THUMBNAIL" ]; then if [ -z "$THUMBNAIL" ]; then
THUMBNAIL="https://senaai.tech/games/$folder_name/images/default.png" THUMBNAIL="https://senaai.tech/games/$folder_name/images/default.png"
else else
@@ -74,12 +74,11 @@ jobs:
--data-urlencode "description=$GAME_DESC" \ --data-urlencode "description=$GAME_DESC" \
--data-urlencode "url=$GAME_URL" \ --data-urlencode "url=$GAME_URL" \
--data-urlencode "thumbnail=$THUMBNAIL" \ --data-urlencode "thumbnail=$THUMBNAIL" \
--data-urlencode "type=$GAME_TYPE" --data-urlencode "type=$GAME_TYPE" || true
echo "" echo ""
done done
# Clear console and show only deployment summary # Show deployment summary
clear
echo "" echo ""
echo "==========================================" echo "=========================================="
echo "🎉 Deployment Completed Successfully!" echo "🎉 Deployment Completed Successfully!"