@@ -96,7 +96,8 @@ def deploy(src, config_file='config.yaml', requirements=False, local_package=Non
9696 # folder then add the handler file in the root of this directory.
9797 # Zip the contents of this folder into a single file and output to the dist
9898 # directory.
99- path_to_zip_file = build (src , requirements , local_package )
99+ path_to_zip_file = build (
100+ src , config_file = config_file , requirements = requirements , local_package = local_package )
100101
101102 if function_exists (cfg , cfg .get ('function_name' )):
102103 update_function (cfg , path_to_zip_file )
@@ -122,7 +123,8 @@ def deploy_s3(src, config_file='config.yaml', requirements=False, local_package=
122123 # folder then add the handler file in the root of this directory.
123124 # Zip the contents of this folder into a single file and output to the dist
124125 # directory.
125- path_to_zip_file = build (src , requirements , local_package )
126+ path_to_zip_file = build (
127+ src , config_file = config_file , requirements = requirements , local_package = local_package )
126128
127129 use_s3 = True
128130 s3_file = upload_s3 (cfg , path_to_zip_file , use_s3 )
@@ -150,7 +152,8 @@ def upload(src, config_file='config.yaml', requirements=False, local_package=Non
150152 # folder then add the handler file in the root of this directory.
151153 # Zip the contents of this folder into a single file and output to the dist
152154 # directory.
153- path_to_zip_file = build (src , requirements , local_package )
155+ path_to_zip_file = build (
156+ src , config_file = config_file , requirements = requirements , local_package = local_package )
154157
155158 upload_s3 (cfg , path_to_zip_file )
156159
0 commit comments