mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Merge pull request #3954 from jpforsyth/patch-1
Add note to change directory into service prior to deployment
This commit is contained in:
commit
69702fccfb
@ -160,7 +160,13 @@ Create this file and add event data so you can invoke your function with the dat
|
||||
|
||||
When you deploy a Service, all of the Functions, Events and Resources in your `serverless.yml` are translated to an AWS CloudFormation template and deployed as a single CloudFormation stack.
|
||||
|
||||
To deploy a service, use the `deploy` command:
|
||||
To deploy a service, first `cd` into the relevant service directory:
|
||||
|
||||
```bash
|
||||
cd my-service
|
||||
```
|
||||
|
||||
Then use the `deploy` command:
|
||||
|
||||
```bash
|
||||
serverless deploy
|
||||
|
||||
@ -115,7 +115,13 @@ When you deploy a Service, all of the Functions, and Events in your
|
||||
`serverless.yml` are translated into calls to the platform API to dynamically
|
||||
define those resources.
|
||||
|
||||
To deploy a service, use the `deploy` command:
|
||||
To deploy a service, first `cd` into the relevant service directory:
|
||||
|
||||
```bash
|
||||
cd my-service
|
||||
```
|
||||
|
||||
Then use the `deploy` command:
|
||||
|
||||
```bash
|
||||
serverless deploy
|
||||
|
||||
@ -100,7 +100,13 @@ The `index.js` file contains your exported functions.
|
||||
|
||||
When you deploy a Service, all of the Functions, and Events in your `serverless.yml` are translated into calls to the Google Cloud API to dynamically define those resources.
|
||||
|
||||
To deploy a service, use the `deploy` command:
|
||||
To deploy a service, first `cd` into the relevant service directory:
|
||||
|
||||
```bash
|
||||
cd my-service
|
||||
```
|
||||
|
||||
Then use the `deploy` command:
|
||||
|
||||
```bash
|
||||
serverless deploy
|
||||
|
||||
@ -107,7 +107,13 @@ Create this file and add event data so you can invoke your function with the dat
|
||||
|
||||
When you deploy a Service, all of the Functions, Events and Resources in your `serverless.yml` are translated into calls to the platform API to dynamically define those resources.
|
||||
|
||||
To deploy a service, use the `deploy` command:
|
||||
To deploy a service, first `cd` into the relevant service directory:
|
||||
|
||||
```bash
|
||||
cd my-service
|
||||
```
|
||||
|
||||
Then use the `deploy` command:
|
||||
|
||||
```bash
|
||||
serverless deploy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user