I need deploy code by fetching the last commit in production branch from customers server.
How can I grand a machine to access a git repo in gitlab. As I see the access management is user-based not ssh key-based (expect for current user)
I need deploy code by fetching the last commit in production branch from customers server.
How can I grand a machine to access a git repo in gitlab. As I see the access management is user-based not ssh key-based (expect for current user)
I hope the following will help you out…!
You can make use of Deploy Keys for a project.
Refer: https://docs.gitlab.com/ce/api/deploy_keys.html
Steps:
The get the source code and then do actions that are required on source code.