Hacker News new | ask | show | jobs
Ask HN: How do you promote code through environments in GitHub for GitOps?
2 points by pentago 1898 days ago
Currently, when developer push code to dev branch, Github Actions build starts, builds and merge code to staging branch. It also opens PR to merge to main branch.

I have ArgoCD which syncs with both those branches and apply to our Kubernetes clusters.

While simple and works, it's messy and introduces extra commits.

How do you do this or what's the proper way to do this?