@@ -96,7 +96,8 @@ def deploy(src, config_file='config.yaml', requirements=False, local_package=Non
96
96
# folder then add the handler file in the root of this directory.
97
97
# Zip the contents of this folder into a single file and output to the dist
98
98
# 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 )
100
101
101
102
if function_exists (cfg , cfg .get ('function_name' )):
102
103
update_function (cfg , path_to_zip_file )
@@ -122,7 +123,8 @@ def deploy_s3(src, config_file='config.yaml', requirements=False, local_package=
122
123
# folder then add the handler file in the root of this directory.
123
124
# Zip the contents of this folder into a single file and output to the dist
124
125
# 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 )
126
128
127
129
use_s3 = True
128
130
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
150
152
# folder then add the handler file in the root of this directory.
151
153
# Zip the contents of this folder into a single file and output to the dist
152
154
# 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 )
154
157
155
158
upload_s3 (cfg , path_to_zip_file )
156
159
0 commit comments