How to change git repository if deploy application from github to vercel?
Unanswered
Sulphur-bellied Flycatcher posted this in #help-forum
Sulphur-bellied FlycatcherOP
The previous repository: github.com/user1/app1
The new repository: github.com/user1/app2
I want to deploy the new repository to the same project in vercel. Even I changed the git repository connection, it still clone source in github.com/user1/app1 when redeploy.
Why it doesn't work?
The new repository: github.com/user1/app2
I want to deploy the new repository to the same project in vercel. Even I changed the git repository connection, it still clone source in github.com/user1/app1 when redeploy.
Why it doesn't work?
7 Replies
and if you do a commit on new repo, it doesn't build that?
Sulphur-bellied FlycatcherOP
@riský
I didn't try that. But if use vercel cli to deploy, it can remove cache and use the new repository.
But why can't in web browser even I removed all the data cache from settings?
I didn't try that. But if use vercel cli to deploy, it can remove cache and use the new repository.
But why can't in web browser even I removed all the data cache from settings?
vercel cli is another way to upload the files (like github)... im confused what you are meaning with cache...
Sulphur-bellied FlycatcherOP
I think the repository target didn't be changed when click redeploy from dashboard. Maybe that's cache.
So I consider vercel cli.
So I consider vercel cli.
yeah but redeploy just does the latest one they had downloaded
you need to make new commit on new repo to be able to use it instead (for rebuilding)
Sulphur-bellied FlycatcherOP
Oh, it makes sense to me. I didn't try a commit. Maybe it can work. Thank you for the suggestion.