gitea & drone release upload – invalid character ‘<' looking for beginning of value"

time="2019-07-29T17:52:26Z" level=fatal msg="Failed to upload the files. Failed to upload app/build/outputs/apk/release/app-release-unsigned.apk artifact: invalid character '<' looking for beginning of value"

solution: make sure to have attachments enabled in gitea’s app.ini and if you have nginx reverse proxy infront of your gitea, bump client_max_body_size in your server directive.

profit!