部署
命令行工具依赖 Node。
安装命令行工具
https://vercel.com/docs/cli
npm i -g vercel
登录
# 若登录不成功,可能需要使用代理。
vercel login
部署
vercel deploy
Vercel CLI 39.2.2
? Set up and deploy “~/workspaces/jetsung/blog”? yes
? Which scope should contain your project? iDev
? Link to existing project? no
? What’s your project’s name? jetsung
? In which directory is your code located? ./public
Local settings detected in vercel.json:
No framework detected. Default Project Settings:
- Build Command: `npm run vercel-build` or `npm run build`
- Development Command: None
- Install Command: `yarn install`, `pnpm install`, `npm install`, or `bun install`
- Output Directory: `public` if it exists, or `.`
? Want to modify these settings? yes
? Which settings would you like to overwrite (select multiple)?
🔗 Linked to idevsig/jetsung (created .vercel)
🔍 Inspect: https://vercel.com/idevsig/jetsung/DaXUAcsKQuvByct8ZqG8Lnyo2xF4 [5s]
✅ Production: https://jetsung-2vr5unqli-idevsig.vercel.app [5s]
📝 Deployed to production. Run `vercel --prod` to overwrite later (https://vercel.link/2F).
💡 To change the domain or build command, go to https://vercel.com/idevsig/jetsung/settings
预览地址:https://jetsung.vercel.app/