Fixing release job

This commit is contained in:
Rukira 2026-08-24 20:05:00 +01:00
parent 51bc86ec6d
commit cfd093af72

View file

@ -198,7 +198,8 @@ jobs:
filename=$(basename "$file")
echo "Uploading asset ${filename} to Forgejo release ${RELEASE_ID}..."
curl -sS --fail-with-body -X POST \
"https://git.asarius.site/api/v1/repos/rukira/wow-backup/releases/${RELEASE_ID}/assets?name=${filename}" \
"https://git.asarius.site/api/v1/repos/rukira/wow-backup/releases/${RELEASE_ID}/assets" \
--url-query "name=${filename}" \
-H "Authorization: token ${FORGEJO_PAT}" \
-H "Accept: application/json" \
-F "attachment=@${file}"