horike37 76a3a79abc Revert "add document for commands aliases"
This reverts commit ab5dea7153304d130928ec2f8deed2e678cb681d.
2017-09-02 11:13:11 +09:00

954 B

Read this on the main serverless docs site

OpenWhisk - Deploy Function

The sls deploy function command deploys an individual function. This command simply compiles a deployment package with a single function handler. This is a much faster way of deploying changes in code.

serverless deploy function -f functionName

Note: Because this command is only deploying the function code, function properties such as environment variables and events will not be deployed.

Options

  • --function or -f The name of the function which should be deployed