Loading...
Loading...
Deploy validated metadata to a Production Salesforce org without re-running tests. TRIGGER when the user wants to deploy to production, says 'quick deploy', 'promote', 'ship to prod', or has just validated and wants to push the change live. REQUIRES a recent `sf project deploy validate` job ID (≤10 days old, ≤3 days for --use-most-recent). DO NOT TRIGGER for sandbox/scratch deploys (use platform-metadata-deploy) or unvalidated deploys (use platform-deploy-validate first).
npx skill4agent add forcedotcom/sf-skills platform-quick-deploysf project deploy validatesf org display --target-org <alias> --jsonproduction|sandbox|scratch|trial|devhub|unknownsf org display --target-org <alias> --json | "${CLAUDE_PLUGIN_ROOT}/scripts/sf-deploy-gate" classifyisSandbox=falseisScratch=false--test.salesforce.comorgfarm-**.develop.my.salesforce.com*.pc-rnd.*trialExpirationDateisSandboxisScratchnullproductionplatform-metadata-deploy.sfdx/last-validation.jsonplatform-deploy-validate--use-most-recent--job-id--use-most-recentcreatedAtplatform-deploy-validate┌─ PRODUCTION DEPLOY ─────────────────────────────┐
│ Org alias: <alias> │
│ Instance: <instanceUrl> │
│ Edition: <edition> │
│ Validation ID: <jobId> │
│ Validated: <createdAt> (X days ago) │
│ Components: <componentCount> queued │
│ Tests: <run>/<passed>/<failed> │
└─────────────────────────────────────────────────┘
Confirm deploy to PRODUCTION? (yes/no)sf project deploy quick --job-id <id> --target-org <alias> --wait 30 --json--use-most-recentmkdir -p .sfdx/deploy-history
sf project deploy report --job-id <id> --target-org <alias> --json > ".sfdx/deploy-history/<id>.json"sf project deploy start--ignore-errors--ignore-warnings.sfdx/deploy-history/platform-deploy-validate