Fix Gitea release asset deletion path
This commit is contained in:
1 parent
f4f1e78b5f
commit
a72a9de08f
1 file changed
+1
-1
@@ -138,7 +138,7 @@ jobs:
|
||||
local asset_id="$1"
|
||||
curl -fsS -X DELETE \
|
||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||
"${GITEA_HOST}/api/v1/repos/${GITEA_REPO}/releases/assets/${asset_id}" \
|
||||
"${GITEA_HOST}/api/v1/repos/${GITEA_REPO}/releases/${RELEASE_ID}/assets/${asset_id}" \
|
||||
>/dev/null
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user