Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Githook should listen for main or master #35

Open
fmendozaro opened this issue Dec 4, 2020 · 1 comment
Open

Githook should listen for main or master #35

fmendozaro opened this issue Dec 4, 2020 · 1 comment

Comments

@fmendozaro
Copy link
Contributor

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
Copy link
Owner

zgulde commented Jan 29, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants