Setting SSH clone url
This commit is contained in:
parent
5ccc6374bc
commit
ad575c28d9
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ steps:
|
|||
commands:
|
||||
- apk add --update openssh-client bash
|
||||
- eval $(ssh-agent -s)
|
||||
- git remote set-url origin "${CI_REPO_CLONE_SSH_URL}"
|
||||
- bash -c 'ssh-add <(echo "$SSH_PRIVATE_KEY")'
|
||||
- git config --global user.email "${author_email:-git@polarolouis.fr}"
|
||||
- git config --global user.name "${author_name:-Bot}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue