mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-10-21 21:31:51 +00:00
fixed yml file env list
This commit is contained in:
1 parent
37c25aa107
commit
d375012c5d
1 file changed
+1
-1
@@ -235,7 +235,7 @@ _deploy_services() {
|
|||||||
for _service in $(printf '%s\n' "$_service_list"); do
|
for _service in $(printf '%s\n' "$_service_list"); do
|
||||||
_debug2 "Service" "$_service"
|
_debug2 "Service" "$_service"
|
||||||
_hook=$(yq e ".services[] | select(.name == \"$_service\").hook" "$_deploy_file")
|
_hook=$(yq e ".services[] | select(.name == \"$_service\").hook" "$_deploy_file")
|
||||||
_envs=$(yq e ".services[] | select(.name == \"$_service\").environment[]" "$_deploy_file")
|
_envs=$(yq e ".services[] | select(.name == \"$_service\").environment" "$_deploy_file")
|
||||||
|
|
||||||
_export_envs "$_envs"
|
_export_envs "$_envs"
|
||||||
if ! _deploy_service "$_service" "$_hook"; then
|
if ! _deploy_service "$_service" "$_hook"; then
|
||||||
|
|||||||