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

Deployment is on the correct branch, but it always use source code on main branch #65

Closed
pacexy opened this issue Dec 19, 2020 · 2 comments

Comments

@pacexy
Copy link

pacexy commented Dec 19, 2020

I have created a Pull Request, it used the correct branch, but vercel use the source code on my main branch.

It use the correct branch

image

But not use any new code on this branch

image

@pacexy
Copy link
Author

pacexy commented Dec 19, 2020

It seems that the latest commit on main branch is used as githubCommitSha. How can I fix it?

@pacexy
Copy link
Author

pacexy commented Dec 23, 2020

Using pull_request instead of pull_request_target fix it.

@pacexy pacexy closed this as completed Dec 23, 2020
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

1 participant