diff --git a/.travis.yml b/.travis.yml index 2ef69e8..5866e2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,22 @@ deploy: module_name: "bin/functions/send" handler_name: "default" on: - branch: dev \ No newline at end of file + branch: dev + - provider: lambda + function_name: "cognicity-facebook-webhook-prod" + region: $AWS_REGION + role: $AWS_LAMBDA_ROLE + runtime: "nodejs8.10" + module_name: "bin/functions/receive" + handler_name: "default" + on: + branch: master + - provider: lambda + function_name: "cognicity-facebook-reply-prod" + region: $AWS_REGION + role: $AWS_LAMBDA_ROLE + runtime: "nodejs8.10" + module_name: "bin/functions/send" + handler_name: "default" + on: + branch: master \ No newline at end of file