mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Update SLS Deploy Documentation
This commit is contained in:
parent
0e9a60bea4
commit
36e8902cd1
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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).
|
||||
|
||||
@ -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`.
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user