This isn’t a direct answer to your question, but maybe you’ll find it helpful. I personally use dokploy to handle this. The approach is a bit different and it works more like vercel and netlify. You point dokploy to your repository and it will pull the code and deploy it.
I also have a forgejo actions runner (which I actually manage via dokploy), but I mainly use actions to run tests and code checks.
This isn’t a direct answer to your question, but maybe you’ll find it helpful. I personally use dokploy to handle this. The approach is a bit different and it works more like vercel and netlify. You point dokploy to your repository and it will pull the code and deploy it.
I also have a forgejo actions runner (which I actually manage via dokploy), but I mainly use actions to run tests and code checks.