I have a working code example I'll push up but I'm out of time today.
Creating this issue so I also remember to add notes to the README.md. Additional setup tasks will be:
Add the passphrase in a secure way as an environment variable $SSHPASS in the CI. Use the encrypted env file if using our containers in codeship
If using our containers, set GIT_SSH_COMMAND: SSH_AUTH_SOCK=/root/.ssh/ssh_auth_sock ssh on the deploy container.
I have a working code example I'll push up but I'm out of time today.
Creating this issue so I also remember to add notes to the README.md. Additional setup tasks will be:
Add the passphrase in a secure way as an environment variable $SSHPASS in the CI. Use the encrypted env file if using our containers in codeship If using our containers, set
GIT_SSH_COMMAND: SSH_AUTH_SOCK=/root/.ssh/ssh_auth_sock ssh
on the deploy container.