think i fixed yaml
All checks were successful
Build and publish CMBA rulebooks (Gitea) / build-release (push) Successful in 1m42s
All checks were successful
Build and publish CMBA rulebooks (Gitea) / build-release (push) Successful in 1m42s
This commit is contained in:
7
.github/workflows/release-docs.yml
vendored
7
.github/workflows/release-docs.yml
vendored
@@ -93,12 +93,7 @@ jobs:
|
|||||||
curl -sS -X DELETE -H "$AUTH" \
|
curl -sS -X DELETE -H "$AUTH" \
|
||||||
"$API/repos/$OWNER/$NAME/releases/$RELEASE_ID/assets/$existing_asset_id" >/dev/null
|
"$API/repos/$OWNER/$NAME/releases/$RELEASE_ID/assets/$existing_asset_id" >/dev/null
|
||||||
fi
|
fi
|
||||||
|
echo "Uploading $filename" curl -sS --fail -X POST -H "$AUTH" -H "Accept: application/json" -F "attachment=@$f" "$API/repos/$OWNER/$NAME/releases/$RELEASE_ID/assets?name=$filename" >/dev/null
|
||||||
echo "Uploading: $filename"
|
|
||||||
curl -sS --fail -X POST -H "$AUTH" \
|
|
||||||
-H "Accept: application/json" \
|
|
||||||
-F "attachment=@$f" \
|
|
||||||
"$API/repos/$OWNER/$NAME/releases/$RELEASE_ID/assets?name=$filename"
|
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Done. Release page: ${GITEA_BASE_URL}/${OWNER}/${NAME}/releases/tag/${TAG}"
|
echo "Done. Release page: ${GITEA_BASE_URL}/${OWNER}/${NAME}/releases/tag/${TAG}"
|
||||||
Reference in New Issue
Block a user