Update SLS Deploy Documentation

This commit is contained in:
Jeffrey Wen 2019-10-04 11:53:05 -07:00
parent 0e9a60bea4
commit 36e8902cd1
10 changed files with 10 additions and 10 deletions

View File

@ -22,7 +22,7 @@ serverless deploy
## Options
- `--config` or `-c` Path to your conifguration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--config` or `-c` Name of your configuration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--stage` or `-s` The stage in your service that you want to deploy to.
- `--region` or `-r` The region in that stage that you want to deploy to.
- `--package` or `-p` path to a pre-packaged directory and skip packaging step.

View File

@ -22,7 +22,7 @@ The displayed information is useful when rolling back a deployment or function v
## Options
- `--config` or `-c` Path to your conifguration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--config` or `-c` Name of your configuration file, if other than `serverless.yml|.yaml|.js|.json`.
## Examples

View File

@ -22,7 +22,7 @@ serverless deploy
## Options
- `--config` or `-c` Path to your conifguration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--config` or `-c` Name of your configuration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--noDeploy` or `-n` Skips the deployment steps and leaves artifacts in the `.serverless` directory
- `--verbose` or `-v` Shows all stack events during deployment, and display any Stack Output.

View File

@ -22,7 +22,7 @@ serverless invoke --function functionName
## Options
- `--config` or `-c` Path to your conifguration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--config` or `-c` Name of your configuration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--function` or `-f` The name of the function in your service that you want to invoke. **Required**.
- `--path` or `-p` The path to a json file with input data to be passed to the invoked function. This path is relative to the root directory of the service.
- `--data` or `-d` Stringified JSON data to be used as input to the function

View File

@ -45,7 +45,7 @@ This is the simplest deployment usage possible. With this command, Serverless wi
## Options
- `--config` or `-c` Path to your conifguration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--config` or `-c` Name of your configuration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--verbose` or `-v`: Shows all stack events during deployment, and display any Stack Output.
- `--function` or `-f`: Invokes `deploy function` (see above). Convenience shortcut

View File

@ -26,7 +26,7 @@ This is the simplest deployment usage possible. With this command Serverless wil
## Options
- `--config` or `-c` Path to your conifguration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--config` or `-c` Name of your configuration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--verbose` or `-v` Shows all stack events during deployment, and display any Stack Output.
- `--function` or `-f` Invoke `deploy function` (see above). Convenience shortcut

View File

@ -22,7 +22,7 @@ serverless deploy
## Options
- `--config` or `-c` Path to your conifguration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--config` or `-c` Name of your configuration file, if other than `serverless.yml|.yaml|.js|.json`.
## Artifacts

View File

@ -26,7 +26,7 @@ This is the simplest deployment usage possible. With this command Serverless wil
## Options
- `--config` or `-c` Path to your conifguration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--config` or `-c` Name of your configuration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--noDeploy` or `-n` Skips the deployment steps and leaves artifacts in the `.serverless` directory.
- `--verbose` or `-v` Shows all stack events during deployment, and display any Stack Output.
- `--package` or `-p` The path of a previously packaged deployment to get deployed (skips packaging step).

View File

@ -22,7 +22,7 @@ serverless deploy
## Options
- `--config` or `-c` Path to your conifguration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--config` or `-c` Name of your configuration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--noDeploy` or `-n` Skips the deployment steps and leaves artifacts in the `.serverless` directory
- `--verbose` or `-v` Shows all stack events during deployment, and display any Stack Output.
- `--function` or `-f` Invoke `deploy function` (see above). Convenience shortcut - cannot be used with `--package`.

View File

@ -22,6 +22,6 @@ serverless deploy -v
## Options
- `--config` or `-c` Path to your conifguration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--config` or `-c` Name of your configuration file, if other than `serverless.yml|.yaml|.js|.json`.
- `--package` or `-p` path to a pre-packaged directory and skip packaging step.
- `--verbose` or `-v` Shows all stack events during deployment, and display any Stack Output.