Uploading your project's public key to GitLab manually
To add a new deployment key in GitLab, start by navigating to your Settings tab at the top your project, then Repository, and then expand the Deploy Keys section:
Give the key a name, paste in your public key into the Key field, then click Add Key to save it, ensuring that write access is not enabled.