From 97a8d378ce75b4f771b0cd9d409be3d8eb54b70c Mon Sep 17 00:00:00 2001 From: xiagw Date: Sat, 29 Jun 2024 08:24:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9Efix(M=20=20deploy.sh)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 828bf828..0c1108e3 100755 --- a/deploy.sh +++ b/deploy.sh @@ -491,7 +491,7 @@ _deploy_functions_aliyun() { EOF fi - _set_proxy off + # _set_proxy off if aliyun -p "${ENV_ALIYUN_PROFILE-}" fc GET /2023-03-30/functions --prefix "${release_name:0:3}" --limit 100 --header "Content-Type=application/json;" | jq -r '.functions[].functionName' | grep -qw "${release_name}$"; then _msg time "update function $release_name" aliyun -p "${ENV_ALIYUN_PROFILE-}" --quiet fc PUT /2023-03-30/functions/"$release_name" --header "Content-Type=application/json;" --body "{\"tracingConfig\":{},\"customContainerConfig\":{\"image\":\"${ENV_DOCKER_REGISTRY}:${image_tag}\"}}"