I have a pro vercel subscription. I have my github connected, and I set up a hook so that I can manually push from main and that works.
I want:
None of these work, and I haven't been able to debug this
Here is what I have for attempting to configure the "stage" branch:
Needless to say, I HAVE pushed a new commit to "stage", and also to "somebranch"
Nothing happens when I push to any branch (including main, stage and any other).
The only way for me to trigger a deploy is manually calling the hook I set on it, manually.
How to get vercel to do the most basic build-on-push?
The problem was the LOCAL git config name and email did not match the one connected to vercel via "connect git account".
I had to change the LOCAL git config
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
to the one corresponding with the repo connected to vercel.
This is what their support told me to do and it solved the problem.
Is it dumb? -- Yes.
It does not add security.
It breaks encapsulation.
It uses something that's meant to be purely visual for git commits.
I wrote that to their support, and they didn't seem to even understand, so I left it. If it works it works.
Very dumb design.