fix: use vercel link to deploy with github

This commit is contained in:
lucas-neynar 2025-04-03 17:09:38 -07:00
parent f2ec709e2d
commit 63a480ebda
No known key found for this signature in database
2 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@neynar/create-farcaster-mini-app",
"version": "1.2.9",
"version": "1.2.10",
"type": "module",
"private": false,
"access": "public",

View File

@ -466,21 +466,22 @@ async function deployToVercel(useGitHub = false) {
// Deploy the project
if (useGitHub) {
console.log('\n📦 Deploying with GitHub integration...');
execSync('vercel deploy --prod --git', {
console.log('\nSetting up GitHub integration...');
execSync('vercel link', {
cwd: projectRoot,
stdio: 'inherit',
env: process.env
});
console.log('\n📦 Deploying with GitHub integration...');
} else {
console.log('\n📦 Deploying local code directly...');
execSync('vercel deploy --prod', {
cwd: projectRoot,
stdio: 'inherit',
env: process.env
});
}
execSync('vercel deploy --prod', {
cwd: projectRoot,
stdio: 'inherit',
env: process.env
});
// Verify the actual domain after deployment
console.log('\n🔍 Verifying deployment domain...');