zgulde / cods

COdeup Deployment Scripts
MIT License
52 stars 28 forks source link

Githook should listen for main or master #35

Open fmendozaro opened 3 years ago

fmendozaro commented 3 years ago

With the latest changes on github, our default branch is most likely to be main, but the cods githook on the server-side only triggers the deployment commands if it comes from master.

Right now the solution is just to create a master that mirrors main.

zgulde commented 3 years ago

I agree and should probably update the hook. In the meantime, here's a quick hacky fix:

git push production main:master

That will push the main branch to the production remote as master