I figured it out and posted here: SCP authenticity requires input, freezes build
For the OP case:
- checkout
- run: ssh-keyscan $DEPLOY_HOST >> ~/.ssh/known_hosts
It will only works it lives after -checkout as checkout seems to create the file.
I figured it out and posted here: SCP authenticity requires input, freezes build
For the OP case:
- checkout
- run: ssh-keyscan $DEPLOY_HOST >> ~/.ssh/known_hosts
It will only works it lives after -checkout as checkout seems to create the file.