Vercel is not triggering new commits on Github.
Hi everyone! It was fine, but Vercel deployed the commits but didn't make any changes. I thought I didn't push the changes, but I did. I don't know why it suddenly did that, but it's pretty weird.
Any solutions would be appreciated!
I tried to re-deploy, but it made no difference. I was expecting Vercel to deploy my project correctly.
CodePudding user response:
From the documentation, Vercel allows for automatic deployments on every branch push and merges onto the Production Branch of your GitHub, GitLab, and Bitbucket projects.
The production branch is selected in the following order:
- The main branch.
- If not present, the master branch (more details).
- [Only for Bitbucket] If not present, the "Production Branch" setting of your Git repository is used.
- If not present, the Git repository's default branch.
So it is possible you have pushed your commits to a different branch.
Check git status
and git branch -avv
to check:
- on which local branch you are
- what upstream branch is associated with your local branch