Is there a way to select a custom branch to deploy ? I do not seem to be able to select a branch and it takes the default main branch
thanks in advance
Vercel automatically deploys any commit you push to a branch.
You can also customize which branch is used as the Production Branch in the project settings: Go to Project Settings > Git > Production Branch
If you want to deploy a branch without pushing a commit, you can use vercel-cli
.
To re-deploy the preview environment:
vercel --force
To re-deploy the production environment:
vercel --prod --force
If you haven't setup vercel-cli
yet check Vercel's CLI document
Source: Deploy An App Without Pushing An Empty Commit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With