ci: use cluster mihomo proxy
Some checks failed
Deploy Hugo Blog to k3s / build-and-deploy (push) Failing after 6s
Some checks failed
Deploy Hugo Blog to k3s / build-and-deploy (push) Failing after 6s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user