AgentSkillsCN

handling-deploy-cicd

Vercel/Appwrite 的部署协议。适用于管理生产构建与环境变量时使用。

SKILL.md
--- frontmatter
name: handling-deploy-cicd
description: Deployment protocols for Vercel/Appwrite. Use for managing production builds and environment variables.

CI/CD and Deployment

When to use this skill

  • When pushing to main.
  • When setting up a new environment.

Deployment Checklist

  • Environment Variables: Ensure all .env keys exist in Vercel/Appwrite.
  • Build Check: Run npm run build locally first to catch errors.
  • Platforms: Whitelist Vercel domain in Appwrite "Settings > Platforms".
  • Webhooks: Ensure the production Webhook URL is correct.

Instructions

  • Preview Deploys: Use branch previews to test features before merging to main.
  • Logs: Monitor Vercel "Runtime Logs" immediately after a major deploy.