How to download releases from private repositories (self-hosted) with access token?

Hello! I can’t figure out how to download releases from private repositories on gitea server (self-hosted instance, different server than one where I want to download release).

I’m using workflow drone + gitea, where drone builds angular application so the production server would have only to download release file, unpack it and replace with current production build.

But I can’t figure out how to download it. I tried using url for release with ?access_token, but no luck, I’m getting login page.