deploy:update_code
- support HTTPS with username and password
#4110
Unanswered
FluffyDiscord
asked this question in
Features
Replies: 2 comments 2 replies
-
I did not get it) |
Beta Was this translation helpful? Give feedback.
2 replies
-
I'm using CI_REPOSITORY_URL variable in GitLab. In: set('repository', getenv('CI_REPOSITORY_URL')); Result in deployer is:
So I think you can just set the repository with https and user/pass, and it will work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My use case is simple. I do not want to put on the target host SSH key that can access everything on my gitlab instance, or create dummy user with his own ssh key, just to limit access.
Gitlab allows us to create access key, that can be scoped up to a single project, and set as read-only, no user needed. We can then use it to authenticate HTTPS
git
operations using any string as username, and that access token as password.Can we adjust
deploy:update_code
to allow us to set a password?Beta Was this translation helpful? Give feedback.
All reactions