Merge pull request #3954 from jpforsyth/patch-1

Add note to change directory into service prior to deployment
This commit is contained in:
Philipp Muens 2017-08-17 13:16:35 +02:00 committed by GitHub
commit 69702fccfb
4 changed files with 28 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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