12
This commit is contained in:
@@ -10,8 +10,8 @@ export default async function handler(req, res) {
|
||||
console.log('🔔 Received Gitea webhook');
|
||||
|
||||
const VERCEL_TOKEN = process.env.VERCEL_TOKEN;
|
||||
const PROJECT_NAME = 'your-project-name'; // Vercel 项目名
|
||||
const TEAM_ID = 'your-team-id-or-null'; // 如果是团队项目,写 team id;否则 null
|
||||
const PROJECT_NAME = 'cookies'; // Vercel 项目名
|
||||
const TEAM_ID = 'null'; // 如果是团队项目,写 team id;否则 null
|
||||
|
||||
try {
|
||||
const result = await axios.post('https://api.vercel.com/v13/deployments', {
|
||||
|
||||
Reference in New Issue
Block a user