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.
3 points on CI/CD question: How do you actually deploy a self-hosted web app that runs in docker (preferably using Forgejo actions)? in !selfhosted@lemmy.world ·
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.