2017-02-24 15:51:21 -08:00

23 lines
798 B
Markdown

<!--
title: Serverless Framework Commands - Apache OpenWhisk - Deploy Function
menuText: Deploy Function
menuOrder: 5
description: Deploy your Apache OpenWhisk functions quickly
layout: Doc
-->
<!-- DOCS-SITE-LINK:START automatically generated -->
### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/deploy-function)
<!-- DOCS-SITE-LINK:END -->
# 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.
```bash
serverless deploy function -f functionName
```
## Options
- `--function` or `-f` The name of the function which should be deployed