diff --git a/docs/src/main/asciidoc/adapters/gcp-intro.adoc b/docs/src/main/asciidoc/adapters/gcp-intro.adoc index e42aa9b0b..23e64010e 100644 --- a/docs/src/main/asciidoc/adapters/gcp-intro.adoc +++ b/docs/src/main/asciidoc/adapters/gcp-intro.adoc @@ -81,7 +81,7 @@ First, add the Shade Plugin configuration to generate a fat jar when you run the true - deploy + target/deploy gcp @@ -110,7 +110,7 @@ Package the application. mvn package ---- -You should see the fat jar in `deploy` directory. +You should see the fat jar in `target/deploy` directory. Make sure that you have the https://cloud.google.com/sdk/install[Cloud SDK CLI] installed. @@ -121,7 +121,7 @@ gcloud alpha functions deploy function-sample-gcp \ --entry-point org.springframework.cloud.function.adapter.gcloud.FunctionInvoker \ --runtime java11 \ --trigger-http \ ---source deploy \ +--source target/deploy \ --memory 512MB ---- diff --git a/spring-cloud-function-samples/function-sample-gcp/.gitignore b/spring-cloud-function-samples/function-sample-gcp/.gitignore deleted file mode 100644 index ad5e6cfb6..000000000 --- a/spring-cloud-function-samples/function-sample-gcp/.gitignore +++ /dev/null @@ -1 +0,0 @@ -deploy/ diff --git a/spring-cloud-function-samples/function-sample-gcp/README.adoc b/spring-cloud-function-samples/function-sample-gcp/README.adoc index 86da52659..cd7ce23bf 100644 --- a/spring-cloud-function-samples/function-sample-gcp/README.adoc +++ b/spring-cloud-function-samples/function-sample-gcp/README.adoc @@ -27,7 +27,7 @@ Package the application. mvn package ---- -You should see the fat jar in the `deploy` directory. +You should see the fat jar in the `target/deploy` directory. Make sure that you have the https://cloud.google.com/sdk/install[Cloud SDK CLI] installed. @@ -38,7 +38,7 @@ gcloud alpha functions deploy function-sample-gcp \ --entry-point org.springframework.cloud.function.adapter.gcloud.FunctionInvoker \ --runtime java11 \ --trigger-http \ ---source deploy \ +--source target/deploy \ --memory 512MB ---- diff --git a/spring-cloud-function-samples/function-sample-gcp/pom.xml b/spring-cloud-function-samples/function-sample-gcp/pom.xml index be95b208d..9d15f3873 100644 --- a/spring-cloud-function-samples/function-sample-gcp/pom.xml +++ b/spring-cloud-function-samples/function-sample-gcp/pom.xml @@ -43,7 +43,7 @@ true - deploy + target/deploy gcp