From d41c2fcdd9366fb3f1fcb11aceed919bfebbed61 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 6 Mar 2017 21:38:41 +0100 Subject: make: add support to "production" builds this is used by blogc-github-lambda and blogc-git-receiver. --- src/blogc-github-lambda/lambda_function.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/blogc-github-lambda') diff --git a/src/blogc-github-lambda/lambda_function.py b/src/blogc-github-lambda/lambda_function.py index f8a259d..fb8492f 100644 --- a/src/blogc-github-lambda/lambda_function.py +++ b/src/blogc-github-lambda/lambda_function.py @@ -165,7 +165,7 @@ def sns_handler(message): if os.path.isfile(blogcfile): # deploy using blogc-make - args = [os.path.join(cwd, 'blogc'), '-m', '-f', blogcfile, + args = [os.path.join(cwd, 'blogc'), '-m', '-p', '-f', blogcfile, 'all'] if debug: args.append('-V') @@ -186,6 +186,7 @@ def sns_handler(message): else: print "Commit not for master branch, skipping: %s" % payload['ref'] + def lambda_handler(event, context): for record in event['Records']: if 'Sns' in record: -- cgit v1.2.3-18-g5258