diff --git a/docs/providers/aws/guide/services.md b/docs/providers/aws/guide/services.md index 05031edbf..a7342f689 100644 --- a/docs/providers/aws/guide/services.md +++ b/docs/providers/aws/guide/services.md @@ -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 diff --git a/docs/providers/azure/guide/services.md b/docs/providers/azure/guide/services.md index e00dda5a0..1ab4bdbe6 100644 --- a/docs/providers/azure/guide/services.md +++ b/docs/providers/azure/guide/services.md @@ -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 diff --git a/docs/providers/google/guide/services.md b/docs/providers/google/guide/services.md index ccfd1239a..44d32d894 100644 --- a/docs/providers/google/guide/services.md +++ b/docs/providers/google/guide/services.md @@ -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 diff --git a/docs/providers/openwhisk/guide/services.md b/docs/providers/openwhisk/guide/services.md index 563855927..ae8de4b02 100644 --- a/docs/providers/openwhisk/guide/services.md +++ b/docs/providers/openwhisk/guide/services.md @@ -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