So you have cheap vps and want to borrow some free GitHub cpu cycles to do CPU intensive builds ( say compilation ), your GitHub workflow is pretty simple and then all you need us to add your ssh key as a secret to GitHub account so that to deploy artifacts to your VPS … ?
Ok … maybe you do it wrong or at least you don’t need to add your keys to GitHub and compromise security and here the way - reverse cicd:
So you have cheap vps and want to borrow some free GitHub cpu cycles to do CPU intensive builds ( say compilation ), your GitHub workflow is pretty simple and then all you need us to add your ssh key as a secret to GitHub account so that to deploy artifacts to your VPS … ?
Ok … maybe you do it wrong or at least you don’t need to add your keys to GitHub and compromise security and here the way - reverse cicd:
https://gist.github.com/melezhik/5f3f482c38ed9ab59626cc19c6b...
PS please let me know what you think