Setting SSH clone url
Some checks failed
ci/woodpecker/push/age-check Pipeline failed
ci/woodpecker/push/build-deploy Pipeline was successful

This commit is contained in:
Louis 2025-09-30 14:43:20 +02:00
parent 5ccc6374bc
commit ad575c28d9

View file

@ -21,6 +21,7 @@ steps:
commands: commands:
- apk add --update openssh-client bash - apk add --update openssh-client bash
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- git remote set-url origin "${CI_REPO_CLONE_SSH_URL}"
- bash -c 'ssh-add <(echo "$SSH_PRIVATE_KEY")' - bash -c 'ssh-add <(echo "$SSH_PRIVATE_KEY")'
- git config --global user.email "${author_email:-git@polarolouis.fr}" - git config --global user.email "${author_email:-git@polarolouis.fr}"
- git config --global user.name "${author_name:-Bot}" - git config --global user.name "${author_name:-Bot}"