deploy Commands (Retiring)
Commands to deploy artifacts to an environment.
deploy functions
Description for deploy functions
You must run this command from within a git repository. Only committed changes to Functions are deployed. The active branch is deployed unless specified otherwise with `--branch`.
Examples for deploy functions
Deploy a Salesforce Function:
1sf deploy functions --connected-org org-aliasDeploy to 'deploy-branch':
1sf deploy functions --connected-org org-alias --branch deploy-branchOverwrite the remote repository:
1sf deploy functions --connected-org org-alias --forceFlags
- --json
- Optional
-
Format output as json.
- Type: boolean
- -o | --connected-org CONNECTED-ORG
- Required
-
Username or alias for the org that the compute environment should be connected to.
- Type: option
- -b | --branch BRANCH
- Optional
-
Deploy the latest commit from a branch different from the currently active branch.
- Type: option
- --force
- Optional
-
Ignore warnings and overwrite remote repository (not allowed in production).
- Type: boolean
- -q | --quiet
- Optional
-
Limit the amount of output displayed from the deploy process.
- Type: boolean