This commit is contained in:
2025-04-17 21:50:29 +08:00
parent 0f22bcee8c
commit 67a6501764

View File

@@ -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', {