Maybe I'm too young, but I can't imagine building stuff locally and then pushing. Too messy later figuring out why stuff worked on your machine but not the end users'. I like way better setting up a CI pipeline on GitHub, building stuff remotely and then downloading the final binary to my own device or a VM to do manual testing.
Heck there's a few pieces of software I work on that I can't build locally, I just push WIPs to CI/CD.
I could try to setup a CI/CD pipeline of my own, but it isn't worth the time.