Skip to content

Commit

Permalink
Merge pull request #924 from salesforcecli/ew/validate-and-quick-docs
Browse files Browse the repository at this point in the history
Sandbox note on validate and quick
  • Loading branch information
iowillhoit authored Mar 4, 2024
2 parents c87360a + 8608eea commit 76e242f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions messages/deploy.metadata.quick.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Executing this quick deploy command takes less time than a standard deploy becau

This command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org.

Note: Don't use this command on sandboxes; the command is intended to be used on production orgs. By default, sandboxes don't run tests during a deploy. Use `sf project deploy start` instead.

# examples

- Run a quick deploy to your default org using a job ID:
Expand Down
2 changes: 2 additions & 0 deletions messages/deploy.metadata.validate.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ This command doesn't support source-tracking. When you quick deploy with the res

To validate the deployment of multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.

Note: Don't use this command on sandboxes; the command is intended to be used on production orgs. By default, sandboxes don't run tests during a deploy. If you want to validate a deployment with tests on a sandbox, use "sf project deploy start --dry-run --test-level RunLocalTests" instead.

# examples

- NOTE: These examples focus on validating large deployments. See the help for "<%= config.bin %> project deploy start" for examples of deploying smaller sets of metadata which you can also use to validate.
Expand Down

0 comments on commit 76e242f

Please sign in to comment.