Vercel CI 取消對 Vercel 專案的依賴,直接在 GitHub 倉庫上執行
Vercel CI no longer requires a linked Vercel project
Vercel CI 現可在未連結 Vercel 專案的 GitHub 倉庫執行,省去建立空專案的步驟。
- 啟用方式:安裝 Vercel GitHub App、將 GitHub 帳號連結至 Vercel、授予倉庫寫/管理許可權,並於倉庫 clone 目錄執行
vercel ci enable(可加--scope <team>)。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
Vercel CI can now run on a GitHub repository that has no Vercel project. Until now you had to create an empty project just to connect the repository.
To enable it, you need:
The Vercel GitHub App installed with access to the repository
Your GitHub account connected to your Vercel account
Write or admin permission on the repository
Then, from a clone of the repository, run:
vercel ci enable
CI is enabled for the team your CLI is set to. Pass --scope <team> to use a different one. From the next push, tasks run as configured in your repository.
Private GitHub repositories only. Public repositories and other Git providers are not yet supported.
Read the Vercel CI documentation to configure tasks.