Skip to content

Commit

Permalink
🐞fix(M deploy.sh)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiagw committed Jun 29, 2024
1 parent 2c41907 commit 97a8d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}\"}}"
Expand Down

0 comments on commit 97a8d37

Please sign in to comment.