Skip to content

Commit 157fac3

Browse files
committed
Test
1 parent 9729c7b commit 157fac3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ update_function_layers(){
3333
}
3434

3535
deploy_lambda_function(){
36-
[ -z "$INPUT_LAMBDA_LAYER_ARN" ] && install_zip_dependencies && publish_dependencies_as_layer
37-
[ -z "$INPUT_LAMBDA_FUNCTION_NAME" ] && publish_function_code
38-
[ -z "$INPUT_LAMBDA_LAYER_ARN" ] && [ -z "$INPUT_LAMBDA_FUNCTION_NAME" ] && update_function_layers
36+
[ -n "$INPUT_LAMBDA_LAYER_ARN" ] && install_zip_dependencies && publish_dependencies_as_layer
37+
[ -n "$INPUT_LAMBDA_FUNCTION_NAME" ] && publish_function_code
38+
[ -n "$INPUT_LAMBDA_LAYER_ARN" ] && [ -n "$INPUT_LAMBDA_FUNCTION_NAME" ] && update_function_layers
3939
}
4040

4141
deploy_lambda_function

0 commit comments

Comments
 (0)