From ae4f020bb2533fb2ecd726a46686b4526987f117 Mon Sep 17 00:00:00 2001 From: luochen570 <1160510664@qq.com> Date: Tue, 2 Jun 2026 07:57:38 +0800 Subject: [PATCH] ci: use cluster mihomo proxy --- .gitea/workflows/deploy.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 899a490..06d967f 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -54,14 +54,10 @@ jobs: download_hugo "direct" \ HTTP_PROXY= HTTPS_PROXY= ALL_PROXY= http_proxy= https_proxy= all_proxy= \ - || download_hugo "localhost mihomo" \ - HTTP_PROXY=http://127.0.0.1:7890 HTTPS_PROXY=http://127.0.0.1:7890 ALL_PROXY=socks5://127.0.0.1:7891 \ - http_proxy=http://127.0.0.1:7890 https_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7891 \ - NO_PROXY=localhost,127.0.0.1,.svc,.cluster.local,gitea-http.gitea.svc.cluster.local,git.luochen570.cn,docker.gitea.com \ - || download_hugo "rootless gateway mihomo" \ - HTTP_PROXY=http://10.0.2.2:7890 HTTPS_PROXY=http://10.0.2.2:7890 ALL_PROXY=socks5://10.0.2.2:7891 \ - http_proxy=http://10.0.2.2:7890 https_proxy=http://10.0.2.2:7890 all_proxy=socks5://10.0.2.2:7891 \ - NO_PROXY=localhost,127.0.0.1,.svc,.cluster.local,gitea-http.gitea.svc.cluster.local,git.luochen570.cn,docker.gitea.com + || download_hugo "cluster mihomo" \ + HTTP_PROXY=http://mihomo.mihomo.svc.cluster.local:7890 HTTPS_PROXY=http://mihomo.mihomo.svc.cluster.local:7890 ALL_PROXY=socks5://mihomo.mihomo.svc.cluster.local:7890 \ + http_proxy=http://mihomo.mihomo.svc.cluster.local:7890 https_proxy=http://mihomo.mihomo.svc.cluster.local:7890 all_proxy=socks5://mihomo.mihomo.svc.cluster.local:7890 \ + NO_PROXY=localhost,127.0.0.1,.svc,.cluster.local,gitea-http.gitea.svc.cluster.local,git.luochen570.cn,mihomo.mihomo.svc.cluster.local dpkg -i "/tmp/${HUGO_DEB}" hugo version