Settings

Theme

Reverse cicd with GitHub and self hosted Forgejo

gist.github.com

1 points by melezhik 2 months ago · 1 comment

Reader

melezhikOP 2 months ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection