mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-15 23:58:56 -05:00
fix: use vercel link to deploy with github
This commit is contained in:
parent
f2ec709e2d
commit
63a480ebda
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@neynar/create-farcaster-mini-app",
|
||||
"version": "1.2.9",
|
||||
"version": "1.2.10",
|
||||
"type": "module",
|
||||
"private": false,
|
||||
"access": "public",
|
||||
|
||||
@ -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...');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user