aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-github-lambda
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-01-01 23:41:37 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-01-01 23:41:37 +0100
commit007f360e8eb3a6bf3d6770681198710fe1fe4d23 (patch)
tree402531e3acc10510669faad0bd80c890e45b1bbb /src/blogc-github-lambda
parentb832feb3894d95a82e88da05bb9fa29c6da26211 (diff)
downloadblogc-007f360e8eb3a6bf3d6770681198710fe1fe4d23.tar.gz
blogc-007f360e8eb3a6bf3d6770681198710fe1fe4d23.tar.bz2
blogc-007f360e8eb3a6bf3d6770681198710fe1fe4d23.zip
make: rename settings.ini to blogcfile
Diffstat (limited to 'src/blogc-github-lambda')
-rw-r--r--src/blogc-github-lambda/lambda_function.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blogc-github-lambda/lambda_function.py b/src/blogc-github-lambda/lambda_function.py
index b845285..9798055 100644
--- a/src/blogc-github-lambda/lambda_function.py
+++ b/src/blogc-github-lambda/lambda_function.py
@@ -148,11 +148,11 @@ def lambda_handler(event, context):
env['OUTPUT_DIR'] = '_build_lambda'
rootdir = get_tarball(payload['repository']['full_name'])
- settings_file = os.path.join(rootdir, 'settings.ini')
+ blogcfile = os.path.join(rootdir, 'blogcfile')
- if os.path.isfile(settings_file):
+ if os.path.isfile(blogcfile):
# deploy using blogc-make
- args = [os.path.join(cwd, 'blogc'), '-m', '-f', settings_file,
+ args = [os.path.join(cwd, 'blogc'), '-m', '-f', blogcfile,
'all']
if debug:
args.append('-V')