Update .gitea/workflows/ci.yml
All checks were successful
Update Community Skins README / gather-skins (push) Successful in 10s
Update Community Skins README / generate-readme (push) Successful in 3s
Update Community Skins README / commit-readme (push) Successful in 2s

This commit is contained in:
Arlind
2025-07-17 08:51:29 +02:00
parent 079ac23635
commit 42d2bf9b8b

View File

@@ -106,15 +106,14 @@ jobs:
pp_rank="RESTRICTED"
pp_country_rank="RESTRICTED"
padded_rank="9999999"
gitea_avatar_url="https://git.sulejmani.xyz/avatar/$owner"
osu_profile_url="https://osu.ppy.sh/users/$osu_id"
avatar_url=$(echo "$users_json" | jq -r ".[$i].avatar_url")"?size=512"
printf "%s|<tr><td>%s</td><td>%s</td><td>%s</td><td><a href=\"%s\">Profile</a></td><td><a href=\"%s\">Skins</a></td></tr>\n" \
"$padded_rank" "$username" "$pp_rank" "$pp_country_rank" "$osu_profile_url" "$html_url" >> "$USER_ROWS_FILE"
printf "%s|<a href=\"%s\"><img src=\"%s\" width=175 height=175></a>\n" \
"$padded_rank" "$html_url" "$gitea_avatar_url" >> "$AVATAR_ROWS_FILE"
"$padded_rank" "$html_url" "$avatar_url" >> "$AVATAR_ROWS_FILE"
total_valid_entries=$((total_valid_entries + 1))
continue