[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E8DAQEYZGM8MTMH112ENTH":3,"skill-same:01M7E8DAQEYZGM8MTMH112ENTH":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M7E8DAQEYZGM8MTMH112ENTH","deployments-cicd",null,"Vercel deployment and CI\u002FCD expert guidance. Use when deploying, promoting, rolling back, inspecting deployments, building with --prebuilt, or configuring CI workflow files for Vercel.","wxdwu\u002Fnew-api","wxdwu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F80968397?v=4","01M7E6AEMB59N90BKXD77EC83D","Xudong Wu","01M7E6AEMY2BXCDVZ9MJJHFQ4C",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fvercel\u002Fskills\u002Fdeployments-cicd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: deployments-cicd\ndescription: Vercel deployment and CI\u002FCD expert guidance. Use when deploying, promoting, rolling back, inspecting deployments, building with --prebuilt, or configuring CI workflow files for Vercel.\nmetadata:\n  priority: 6\n  docs:\n    - \"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Foverview\"\n    - \"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fgit\"\n  sitemap: \"https:\u002F\u002Fvercel.com\u002Fsitemap\u002Fdocs.xml\"\n  pathPatterns:\n    - '.github\u002Fworkflows\u002F*.yml'\n    - '.github\u002Fworkflows\u002F*.yaml'\n    - '.gitlab-ci.yml'\n    - 'bitbucket-pipelines.yml'\n    - 'vercel.json'\n    - 'apps\u002F*\u002Fvercel.json'\n  bashPatterns:\n    - '\\bvercel\\s+deploy\\b'\n    - '\\bvercel\\s+--prod\\b'\n    - '\\bvercel\\s+promote\\b'\n    - '\\bvercel\\s+rollback\\b'\n    - '\\bvercel\\s+inspect\\b'\n    - '\\bvercel\\s+build\\b'\n    - '\\bvercel\\s+deploy\\s+--prebuilt\\b'\n---\n\n# Vercel Deployments & CI\u002FCD\n\nYou are an expert in Vercel deployment workflows — `vercel deploy`, `vercel promote`, `vercel rollback`, `vercel inspect`, `vercel build`, and CI\u002FCD pipeline integration with GitHub Actions, GitLab CI, and Bitbucket Pipelines.\n\n## Deployment Commands\n\n### Preview Deployment\n\n```bash\n# Deploy from project root (creates preview URL)\nvercel\n\n# Equivalent explicit form\nvercel deploy\n```\n\nPreview deployments are created automatically for every push to a non-production branch when using Git integration. They provide a unique URL for testing.\n\n### Production Deployment\n\n```bash\n# Deploy directly to production\nvercel --prod\nvercel deploy --prod\n\n# Force a new deployment (skip cache)\nvercel --prod --force\n```\n\n### Build Locally, Deploy Build Output\n\n```bash\n# Build locally (uses development env vars by default)\nvercel build\n\n# Build with production env vars\nvercel build --prod\n\n# Deploy only the build output (no remote build)\nvercel deploy --prebuilt\nvercel deploy --prebuilt --prod\n```\n\n**When to use `--prebuilt`:** Custom CI pipelines where you control the build step, need build caching at the CI level, or need to run tests between build and deploy.\n\n### Promote & Rollback\n\n```bash\n# Promote a preview deployment to production\nvercel promote \u003Cdeployment-url-or-id>\n\n# Rollback to the previous production deployment\nvercel rollback\n\n# Rollback to a specific deployment\nvercel rollback \u003Cdeployment-url-or-id>\n```\n\n**Promote vs deploy --prod:** `promote` is instant — it re-points the production alias without rebuilding. Use it when a preview deployment has been validated and is ready for production.\n\n### Inspect Deployments\n\n```bash\n# View deployment details (build info, functions, metadata)\nvercel inspect \u003Cdeployment-url>\n\n# List recent deployments\nvercel ls\n\n# View logs for a deployment\nvercel logs \u003Cdeployment-url>\nvercel logs \u003Cdeployment-url> --follow\n```\n\n## CI\u002FCD Integration\n\n### Required Environment Variables\n\nEvery CI pipeline needs these three variables:\n\n```bash\nVERCEL_TOKEN=\u003Cyour-token>        # Personal or team token\nVERCEL_ORG_ID=\u003Corg-id>           # From .vercel\u002Fproject.json\nVERCEL_PROJECT_ID=\u003Cproject-id>   # From .vercel\u002Fproject.json\n```\n\nSet these as secrets in your CI provider. Never commit them to source control.\n\n### GitHub Actions\n\n```yaml\nname: Deploy to Vercel\non:\n  push:\n    branches: [main]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Install Vercel CLI\n        run: npm install -g vercel\n\n      - name: Pull Vercel Environment\n        run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}\n\n      - name: Build\n        run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}\n\n      - name: Deploy\n        run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}\n```\n\n### OIDC Federation (Secure Backend Access)\n\nVercel OIDC federation is for **secure backend access** — letting your deployed Vercel functions authenticate with third-party services (AWS, GCP, HashiCorp Vault) without storing long-lived secrets. It does **not** replace `VERCEL_TOKEN` for CLI deployments.\n\n**What OIDC does:** Your Vercel function requests a short-lived OIDC token from Vercel at runtime, then exchanges it with an external provider's STS\u002Ftoken endpoint for scoped credentials.\n\n**What OIDC does not do:** Authenticate the Vercel CLI in CI pipelines. All `vercel pull`, `vercel build`, and `vercel deploy` commands still require `--token=${{ secrets.VERCEL_TOKEN }}`.\n\n**When to use OIDC:**\n- Serverless functions that need to call AWS APIs (S3, DynamoDB, SQS)\n- Functions authenticating to GCP services via Workload Identity Federation\n- Any runtime service-to-service auth where you want to avoid storing static secrets in Vercel env vars\n\n### GitLab CI\n\n```yaml\ndeploy:\n  image: node:20\n  stage: deploy\n  script:\n    - npm install -g vercel\n    - vercel pull --yes --environment=production --token=$VERCEL_TOKEN\n    - vercel build --prod --token=$VERCEL_TOKEN\n    - vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN\n  only:\n    - main\n```\n\n### Bitbucket Pipelines\n\n```yaml\npipelines:\n  branches:\n    main:\n      - step:\n          name: Deploy to Vercel\n          image: node:20\n          script:\n            - npm install -g vercel\n            - vercel pull --yes --environment=production --token=$VERCEL_TOKEN\n            - vercel build --prod --token=$VERCEL_TOKEN\n            - vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN\n```\n\n## Common CI Patterns\n\n### Preview Deployments on PRs\n\n```yaml\n# GitHub Actions\non:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  preview:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - run: npm install -g vercel\n      - run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}\n      - run: vercel build --token=${{ secrets.VERCEL_TOKEN }}\n      - id: deploy\n        run: echo \"url=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})\" >> $GITHUB_OUTPUT\n      - name: Comment PR\n        uses: actions\u002Fgithub-script@v7\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: `Preview: ${{ steps.deploy.outputs.url }}`\n            })\n```\n\n### Promote After Tests Pass\n\n```yaml\njobs:\n  deploy-preview:\n    # ... deploy preview ...\n    outputs:\n      url: ${{ steps.deploy.outputs.url }}\n\n  e2e-tests:\n    needs: deploy-preview\n    runs-on: ubuntu-latest\n    steps:\n      - run: npx playwright test --base-url=${{ needs.deploy-preview.outputs.url }}\n\n  promote:\n    needs: [deploy-preview, e2e-tests]\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs\u002Fheads\u002Fmain'\n    steps:\n      - run: npm install -g vercel\n      - run: vercel promote ${{ needs.deploy-preview.outputs.url }} --token=${{ secrets.VERCEL_TOKEN }}\n```\n\n## Global CLI Flags for CI\n\n| Flag | Purpose |\n|------|---------|\n| `--token \u003Ctoken>` | Authenticate (required in CI) |\n| `--yes` \u002F `-y` | Skip confirmation prompts |\n| `--scope \u003Cteam>` | Execute as a specific team |\n| `--cwd \u003Cdir>` | Set working directory |\n\n## Best Practices\n\n1. **Always use `--prebuilt` in CI** — separates build from deploy, enables build caching and test gates\n2. **Use `vercel pull` before build** — ensures correct env vars and project settings\n3. **Prefer `promote` over re-deploy** — instant, no rebuild, same artifact\n4. **Use OIDC federation for runtime backend access** — lets Vercel functions auth to AWS\u002FGCP without static secrets (does not replace `VERCEL_TOKEN` for CLI)\n5. **Pin the Vercel CLI version in CI** — `npm install -g vercel@latest` can break unexpectedly\n6. **Add `--yes` flag in CI** — prevents interactive prompts from hanging pipelines\n\n## Deployment Strategy Matrix\n\n| Scenario | Strategy | Commands |\n|----------|----------|----------|\n| Standard team workflow | Git-push deploy | Push to main\u002Ffeature branches |\n| Custom CI\u002FCD (Actions, CircleCI) | Prebuilt deploy | `vercel build && vercel deploy --prebuilt` |\n| Monorepo with Turborepo | Affected + remote cache | `turbo run build --affected --remote-cache` |\n| Preview for every PR | Default behavior | Auto-creates preview URL per branch |\n| Promote preview to production | CLI promotion | `vercel promote \u003Curl>` |\n| Atomic deploys with DB migrations | Two-phase | Run migration → verify → `vercel promote` |\n| Edge-first architecture | Edge Functions | Set `runtime: 'edge'` in route config |\n\n## Common Build Errors\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `ERR_PNPM_OUTDATED_LOCKFILE` | Lockfile doesn't match package.json | Run `pnpm install`, commit lockfile |\n| `NEXT_NOT_FOUND` | Root directory misconfigured | Set `rootDirectory` in Project Settings |\n| `Invalid next.config.js` | Config syntax error | Validate config locally with `next build` |\n| `functions\u002Fapi\u002F*.js` mismatch | Wrong file structure | Move to `app\u002Fapi\u002F` directory (App Router) |\n| `Error: EPERM` | File permission issue in build | Don't `chmod` in build scripts; use postinstall |\n\n## Deploy Summary Format\n\nPresent a structured deploy result block:\n\n```\n## Deploy Result\n- **URL**: \u003Cdeployment-url>\n- **Target**: production | preview\n- **Status**: READY | ERROR | BUILDING | QUEUED\n- **Commit**: \u003Cshort-sha>\n- **Framework**: \u003Cdetected-framework>\n- **Build Duration**: \u003Cduration>\n```\n\nIf the deployment failed, append:\n\n```\n- **Error**: \u003Csummary of failure from logs>\n```\n\nFor production deploys, also include:\n\n```\n### Post-Deploy Observability\n- **Error scan**: \u003CN errors found \u002F clean> (scanned via vercel logs --level error --since 1h)\n- **Drains**: \u003CN configured \u002F none>\n- **Monitoring**: \u003Cactive \u002F gaps identified>\n```\n\n## Deploy Next Steps\n\nBased on the deployment outcome:\n\n- **Success (preview)** → \"Visit the preview URL to verify. When ready, run `\u002Fdeploy prod` to promote to production.\"\n- **Success (production)** → \"Your production site is live. Run `\u002Fstatus` to see the full project overview.\"\n- **Build error** → \"Check the build logs above. Common fixes: verify `build` script in package.json, check for missing env vars with `\u002Fenv list`, ensure dependencies are installed.\"\n- **Missing env vars** → \"Run `\u002Fenv pull` to sync environment variables locally, or `\u002Fenv list` to review what's configured on Vercel.\"\n- **Monorepo issues** → \"Ensure the correct project root is configured in Vercel project settings. Check `vercel.json` for `rootDirectory`.\"\n- **Post-deploy errors detected** → \"Review errors above. Check `vercel logs \u003Curl> --level error` for details. If drains are configured, correlate with external monitoring.\"\n- **No monitoring configured** → \"Set up drains or install an error tracking integration before the next production deploy. Run `\u002Fstatus` for a full observability diagnostic.\"\n\n## Official Documentation\n\n- [Deployments](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments)\n- [Vercel CLI](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fcli)\n- [GitHub Actions](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-github)\n- [GitLab CI](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-gitlab)\n- [Bitbucket Pipelines](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-bitbucket)\n- [OIDC Federation](https:\u002F\u002Fvercel.com\u002Fdocs\u002Foidc)\n","# Vercel Deployments & CI\u002FCD\n\nYou are an expert in Vercel deployment workflows — `vercel deploy`, `vercel promote`, `vercel rollback`, `vercel inspect`, `vercel build`, and CI\u002FCD pipeline integration with GitHub Actions, GitLab CI, and Bitbucket Pipelines.\n\n## Deployment Commands\n\n### Preview Deployment\n\n```bash\n# Deploy from project root (creates preview URL)\nvercel\n\n# Equivalent explicit form\nvercel deploy\n```\n\nPreview deployments are created automatically for every push to a non-production branch when using Git integration. They provide a unique URL for testing.\n\n### Production Deployment\n\n```bash\n# Deploy directly to production\nvercel --prod\nvercel deploy --prod\n\n# Force a new deployment (skip cache)\nvercel --prod --force\n```\n\n### Build Locally, Deploy Build Output\n\n```bash\n# Build locally (uses development env vars by default)\nvercel build\n\n# Build with production env vars\nvercel build --prod\n\n# Deploy only the build output (no remote build)\nvercel deploy --prebuilt\nvercel deploy --prebuilt --prod\n```\n\n**When to use `--prebuilt`:** Custom CI pipelines where you control the build step, need build caching at the CI level, or need to run tests between build and deploy.\n\n### Promote & Rollback\n\n```bash\n# Promote a preview deployment to production\nvercel promote \u003Cdeployment-url-or-id>\n\n# Rollback to the previous production deployment\nvercel rollback\n\n# Rollback to a specific deployment\nvercel rollback \u003Cdeployment-url-or-id>\n```\n\n**Promote vs deploy --prod:** `promote` is instant — it re-points the production alias without rebuilding. Use it when a preview deployment has been validated and is ready for production.\n\n### Inspect Deployments\n\n```bash\n# View deployment details (build info, functions, metadata)\nvercel inspect \u003Cdeployment-url>\n\n# List recent deployments\nvercel ls\n\n# View logs for a deployment\nvercel logs \u003Cdeployment-url>\nvercel logs \u003Cdeployment-url> --follow\n```\n\n## CI\u002FCD Integration\n\n### Required Environment Variables\n\nEvery CI pipeline needs these three variables:\n\n```bash\nVERCEL_TOKEN=\u003Cyour-token>        # Personal or team token\nVERCEL_ORG_ID=\u003Corg-id>           # From .vercel\u002Fproject.json\nVERCEL_PROJECT_ID=\u003Cproject-id>   # From .vercel\u002Fproject.json\n```\n\nSet these as secrets in your CI provider. Never commit them to source control.\n\n### GitHub Actions\n\n```yaml\nname: Deploy to Vercel\non:\n  push:\n    branches: [main]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Install Vercel CLI\n        run: npm install -g vercel\n\n      - name: Pull Vercel Environment\n        run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}\n\n      - name: Build\n        run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}\n\n      - name: Deploy\n        run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}\n```\n\n### OIDC Federation (Secure Backend Access)\n\nVercel OIDC federation is for **secure backend access** — letting your deployed Vercel functions authenticate with third-party services (AWS, GCP, HashiCorp Vault) without storing long-lived secrets. It does **not** replace `VERCEL_TOKEN` for CLI deployments.\n\n**What OIDC does:** Your Vercel function requests a short-lived OIDC token from Vercel at runtime, then exchanges it with an external provider's STS\u002Ftoken endpoint for scoped credentials.\n\n**What OIDC does not do:** Authenticate the Vercel CLI in CI pipelines. All `vercel pull`, `vercel build`, and `vercel deploy` commands still require `--token=${{ secrets.VERCEL_TOKEN }}`.\n\n**When to use OIDC:**\n- Serverless functions that need to call AWS APIs (S3, DynamoDB, SQS)\n- Functions authenticating to GCP services via Workload Identity Federation\n- Any runtime service-to-service auth where you want to avoid storing static secrets in Vercel env vars\n\n### GitLab CI\n\n```yaml\ndeploy:\n  image: node:20\n  stage: deploy\n  script:\n    - npm install -g vercel\n    - vercel pull --yes --environment=production --token=$VERCEL_TOKEN\n    - vercel build --prod --token=$VERCEL_TOKEN\n    - vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN\n  only:\n    - main\n```\n\n### Bitbucket Pipelines\n\n```yaml\npipelines:\n  branches:\n    main:\n      - step:\n          name: Deploy to Vercel\n          image: node:20\n          script:\n            - npm install -g vercel\n            - vercel pull --yes --environment=production --token=$VERCEL_TOKEN\n            - vercel build --prod --token=$VERCEL_TOKEN\n            - vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN\n```\n\n## Common CI Patterns\n\n### Preview Deployments on PRs\n\n```yaml\n# GitHub Actions\non:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  preview:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - run: npm install -g vercel\n      - run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}\n      - run: vercel build --token=${{ secrets.VERCEL_TOKEN }}\n      - id: deploy\n        run: echo \"url=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})\" >> $GITHUB_OUTPUT\n      - name: Comment PR\n        uses: actions\u002Fgithub-script@v7\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: `Preview: ${{ steps.deploy.outputs.url }}`\n            })\n```\n\n### Promote After Tests Pass\n\n```yaml\njobs:\n  deploy-preview:\n    # ... deploy preview ...\n    outputs:\n      url: ${{ steps.deploy.outputs.url }}\n\n  e2e-tests:\n    needs: deploy-preview\n    runs-on: ubuntu-latest\n    steps:\n      - run: npx playwright test --base-url=${{ needs.deploy-preview.outputs.url }}\n\n  promote:\n    needs: [deploy-preview, e2e-tests]\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs\u002Fheads\u002Fmain'\n    steps:\n      - run: npm install -g vercel\n      - run: vercel promote ${{ needs.deploy-preview.outputs.url }} --token=${{ secrets.VERCEL_TOKEN }}\n```\n\n## Global CLI Flags for CI\n\n| Flag | Purpose |\n|------|---------|\n| `--token \u003Ctoken>` | Authenticate (required in CI) |\n| `--yes` \u002F `-y` | Skip confirmation prompts |\n| `--scope \u003Cteam>` | Execute as a specific team |\n| `--cwd \u003Cdir>` | Set working directory |\n\n## Best Practices\n\n1. **Always use `--prebuilt` in CI** — separates build from deploy, enables build caching and test gates\n2. **Use `vercel pull` before build** — ensures correct env vars and project settings\n3. **Prefer `promote` over re-deploy** — instant, no rebuild, same artifact\n4. **Use OIDC federation for runtime backend access** — lets Vercel functions auth to AWS\u002FGCP without static secrets (does not replace `VERCEL_TOKEN` for CLI)\n5. **Pin the Vercel CLI version in CI** — `npm install -g vercel@latest` can break unexpectedly\n6. **Add `--yes` flag in CI** — prevents interactive prompts from hanging pipelines\n\n## Deployment Strategy Matrix\n\n| Scenario | Strategy | Commands |\n|----------|----------|----------|\n| Standard team workflow | Git-push deploy | Push to main\u002Ffeature branches |\n| Custom CI\u002FCD (Actions, CircleCI) | Prebuilt deploy | `vercel build && vercel deploy --prebuilt` |\n| Monorepo with Turborepo | Affected + remote cache | `turbo run build --affected --remote-cache` |\n| Preview for every PR | Default behavior | Auto-creates preview URL per branch |\n| Promote preview to production | CLI promotion | `vercel promote \u003Curl>` |\n| Atomic deploys with DB migrations | Two-phase | Run migration → verify → `vercel promote` |\n| Edge-first architecture | Edge Functions | Set `runtime: 'edge'` in route config |\n\n## Common Build Errors\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `ERR_PNPM_OUTDATED_LOCKFILE` | Lockfile doesn't match package.json | Run `pnpm install`, commit lockfile |\n| `NEXT_NOT_FOUND` | Root directory misconfigured | Set `rootDirectory` in Project Settings |\n| `Invalid next.config.js` | Config syntax error | Validate config locally with `next build` |\n| `functions\u002Fapi\u002F*.js` mismatch | Wrong file structure | Move to `app\u002Fapi\u002F` directory (App Router) |\n| `Error: EPERM` | File permission issue in build | Don't `chmod` in build scripts; use postinstall |\n\n## Deploy Summary Format\n\nPresent a structured deploy result block:\n\n```\n## Deploy Result\n- **URL**: \u003Cdeployment-url>\n- **Target**: production | preview\n- **Status**: READY | ERROR | BUILDING | QUEUED\n- **Commit**: \u003Cshort-sha>\n- **Framework**: \u003Cdetected-framework>\n- **Build Duration**: \u003Cduration>\n```\n\nIf the deployment failed, append:\n\n```\n- **Error**: \u003Csummary of failure from logs>\n```\n\nFor production deploys, also include:\n\n```\n### Post-Deploy Observability\n- **Error scan**: \u003CN errors found \u002F clean> (scanned via vercel logs --level error --since 1h)\n- **Drains**: \u003CN configured \u002F none>\n- **Monitoring**: \u003Cactive \u002F gaps identified>\n```\n\n## Deploy Next Steps\n\nBased on the deployment outcome:\n\n- **Success (preview)** → \"Visit the preview URL to verify. When ready, run `\u002Fdeploy prod` to promote to production.\"\n- **Success (production)** → \"Your production site is live. Run `\u002Fstatus` to see the full project overview.\"\n- **Build error** → \"Check the build logs above. Common fixes: verify `build` script in package.json, check for missing env vars with `\u002Fenv list`, ensure dependencies are installed.\"\n- **Missing env vars** → \"Run `\u002Fenv pull` to sync environment variables locally, or `\u002Fenv list` to review what's configured on Vercel.\"\n- **Monorepo issues** → \"Ensure the correct project root is configured in Vercel project settings. Check `vercel.json` for `rootDirectory`.\"\n- **Post-deploy errors detected** → \"Review errors above. Check `vercel logs \u003Curl> --level error` for details. If drains are configured, correlate with external monitoring.\"\n- **No monitoring configured** → \"Set up drains or install an error tracking integration before the next production deploy. Run `\u002Fstatus` for a full observability diagnostic.\"\n\n## Official Documentation\n\n- [Deployments](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments)\n- [Vercel CLI](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fcli)\n- [GitHub Actions](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-github)\n- [GitLab CI](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-gitlab)\n- [Bitbucket Pipelines](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-bitbucket)\n- [OIDC Federation](https:\u002F\u002Fvercel.com\u002Fdocs\u002Foidc)\n",{"name":5,"metadata":24,"description":7},{"docs":25,"sitemap":28,"priority":29,"bashPatterns":30,"pathPatterns":38},[26,27],"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Foverview","https:\u002F\u002Fvercel.com\u002Fdocs\u002Fgit","https:\u002F\u002Fvercel.com\u002Fsitemap\u002Fdocs.xml",6,[31,32,33,34,35,36,37],"\\bvercel\\s+deploy\\b","\\bvercel\\s+--prod\\b","\\bvercel\\s+promote\\b","\\bvercel\\s+rollback\\b","\\bvercel\\s+inspect\\b","\\bvercel\\s+build\\b","\\bvercel\\s+deploy\\s+--prebuilt\\b",[39,40,41,42,43,44],".github\u002Fworkflows\u002F*.yml",".github\u002Fworkflows\u002F*.yaml",".gitlab-ci.yml","bitbucket-pipelines.yml","vercel.json","apps\u002F*\u002Fvercel.json","main","dde9a06ab10bce3fe52058c783826590231f7df3","plugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fvercel\u002Fskills\u002Fdeployments-cicd","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api","https:\u002F\u002Fgithub.com\u002Fwxdwu","24120128@bjtu.edu.cn","I am Xudong Wu，a student in beijing jiaotong University, \"I am eager to learn on GitHub and contribute my part to this community.","2026-10-05 17:26:50",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add wxdwu\u002Fnew-api --skill deployments-cicd",{"tool":59,"command":60},"bunx","bunx skills add wxdwu\u002Fnew-api --skill deployments-cicd",{"tool":62,"command":63},"pnpm","pnpm dlx skills add wxdwu\u002Fnew-api --skill deployments-cicd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fvercel\u002Fskills\u002Fdeployments-cicd\u002FSKILL.md",true,[67],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"agents\u002Fopenai.yaml","REFERENCE","参考文档",113,"https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fvercel\u002Fskills\u002Fdeployments-cicd\u002Fagents\u002Fopenai.yaml",[74,81,88,95,102,109],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7E8SVA2N0JA09RW1XJYXCWX","Zotero","Use Zotero Desktop from Codex to enable\u002Fprobe the local API, search a local Zotero library, list items\u002Fcollections\u002Ftags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX\u002FRIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzotero\u002Fskills\u002Fzotero\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7E8ST1FJAD5PWTW2FN1NSK0","zoom-apps-sdk","Use when using Apps SDK.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7E8SRW074NNNCZRCZA5T3Z1","setup-zoom-websockets","Use when building Zoom WebSockets.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7E8SPCFMD3YVPRX2MW8X3RA","setup-zoom-webhooks","Use when building Zoom webhooks.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fwebhooks\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7E8SMCH4RPCX8YSBNGWQCMP","zoom-virtual-agent-web","Zoom Virtual Agent SDK for web embeds. Use for campaign or entry ID chat launch, event-driven controls, user context updates, and CSP-safe deployment.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fvirtual-agent\u002Fweb\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7E8SJCAY323E36Z8SAP8H4M","zoom-virtual-agent-ios","Zoom Virtual Agent iOS integration via WKWebView. Use for Swift\u002FObjective-C script injection, message handlers, support_handoff relay, and URL routing policies.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fvirtual-agent\u002Fios\u002FSKILL.md",[],[]]