Question on Release Attachment download for deployment only #8917
Labels
issue/stale
type/question
Issue needs no code to be fixed, only a description on how to fix it yourself.
[x]
):Description
I'm looking for a way to download an attachment of a release (i.e. a zipped release binary) using Ansible's
get_url
(wget
orcurl
would work as well) while exposing as little as possible of the rest of the project. The reason is, that I would like to avoid having to build a release on my server (I guess that would work with Deploy Keys).In short, what I need is some kind of secret, similar to a Deploy Key, which allows the holder of the secret to just download any attachment of any release of a given project.
My setup:
REQUIRE_SIGNIN_VIEW = true
)myRepo
is owned byme
ansible
is read-only contributor ofmyRepo
ansible
I tried (amended the leading https:// and anonymized):
None of them seem to work, and even if they did: API access is not intended in my use-case.
BasicAuth works fine up until here, but as soon as I disable sign-in for
ansible
it fails too.Is there any way to achieve what I am trying to do? Did anybody find a different approach for this?
The text was updated successfully, but these errors were encountered: