mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-16 08:08: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",
|
"name": "@neynar/create-farcaster-mini-app",
|
||||||
"version": "1.2.9",
|
"version": "1.2.10",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": false,
|
"private": false,
|
||||||
"access": "public",
|
"access": "public",
|
||||||
|
|||||||
@ -466,21 +466,22 @@ async function deployToVercel(useGitHub = false) {
|
|||||||
|
|
||||||
// Deploy the project
|
// Deploy the project
|
||||||
if (useGitHub) {
|
if (useGitHub) {
|
||||||
console.log('\n📦 Deploying with GitHub integration...');
|
console.log('\nSetting up GitHub integration...');
|
||||||
execSync('vercel deploy --prod --git', {
|
execSync('vercel link', {
|
||||||
cwd: projectRoot,
|
cwd: projectRoot,
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
env: process.env
|
env: process.env
|
||||||
});
|
});
|
||||||
|
console.log('\n📦 Deploying with GitHub integration...');
|
||||||
} else {
|
} else {
|
||||||
console.log('\n📦 Deploying local code directly...');
|
console.log('\n📦 Deploying local code directly...');
|
||||||
|
}
|
||||||
|
|
||||||
execSync('vercel deploy --prod', {
|
execSync('vercel deploy --prod', {
|
||||||
cwd: projectRoot,
|
cwd: projectRoot,
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
env: process.env
|
env: process.env
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
// Verify the actual domain after deployment
|
// Verify the actual domain after deployment
|
||||||
|
|
||||||
console.log('\n🔍 Verifying deployment domain...');
|
console.log('\n🔍 Verifying deployment domain...');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user