pull with spcial git command in drone.yml [ci skip]

This commit is contained in:
Viktor Barzin 2025-03-09 13:40:20 +00:00
parent 58cce086ba
commit bcc9599435
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -110,4 +110,5 @@ steps:
- "git add ."
- "git remote set-url origin git@github.com:ViktorBarzin/infra.git"
- "git commit -m 'Drone CI Update TLS Certificates Commit' || echo 'No changes'"
- "git pull --rebase origin master && GIT_SSH_COMMAND='ssh -i ./secrets/deploy_key -o IdentitiesOnly=yes' git push origin master"
- "GIT_SSH_COMMAND='ssh -i ./secrets/deploy_key -o IdentitiesOnly=yes' git pull --rebase origin master"
- "GIT_SSH_COMMAND='ssh -i ./secrets/deploy_key -o IdentitiesOnly=yes' git push origin master"