hello folks; I'm working on some github CI/CD pipelines, and getting stomped with some ssh issues. I made a github action called nixosify which is an script which sshes into a VM and install a distribution on it. The nixosify repo has a test (shared in the gist) which works fine, but when I call this in a pipeline for deploying a server in another repo I am working on called mindcraft, I get ssh errors, and I cannot for the life of me figure out why the same code gives an error in one context but not the other.
I already recreated the ssh keys to ensure I didn't make a mistake there but I am having no luck here. In both cases I create the VM using the VPS provider's CLI and reference a public ssh key that I added to my account.
Links:
- Full mindcraft repo: https://github.com/clusterplay/mindcraft
- Full mindcraft pipeline run log: https://github.com/clusterplay/mindcraft/runs/599258535
- Full nixosify repo: https://github.com/sparkletco/nixosify
- Full nixosify pipeline run log: https://github.com/sparkletco/nixosify/runs/598589621