最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Vercel doesn't deploy any branch automatically (No Deployment) - Stack Overflow

programmeradmin0浏览0评论

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:

  1. Automatic preview pushes and branches from all branches
  2. Automatic preview branches specifically configured

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?

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:

  1. Automatic preview pushes and branches from all branches
  2. Automatic preview branches specifically configured

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?

Share Improve this question asked Feb 1 at 20:28 GulzarGulzar 28.1k40 gold badges153 silver badges249 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

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 "[email protected]"

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.

发布评论

评论列表(0)

  1. 暂无评论