We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9729c7b commit 157fac3Copy full SHA for 157fac3
1 file changed
entrypoint.sh
@@ -33,9 +33,9 @@ update_function_layers(){
33
}
34
35
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
+ [ -n "$INPUT_LAMBDA_LAYER_ARN" ] && install_zip_dependencies && publish_dependencies_as_layer
+ [ -n "$INPUT_LAMBDA_FUNCTION_NAME" ] && publish_function_code
+ [ -n "$INPUT_LAMBDA_LAYER_ARN" ] && [ -n "$INPUT_LAMBDA_FUNCTION_NAME" ] && update_function_layers
39
40
41
deploy_lambda_function
0 commit comments