clouddreamai-cicd-setup 1.5.13 → 1.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -109,12 +109,7 @@ configure_ssl() {
|
|
|
109
109
|
# 安装 acme.sh(如果没有)
|
|
110
110
|
if [ ! -f ~/.acme.sh/acme.sh ]; then
|
|
111
111
|
echo "安装 acme.sh..."
|
|
112
|
-
|
|
113
|
-
git clone --depth 1 https://gitee.com/neilpang/acme.sh.git /tmp/acme.sh 2>/dev/null || \
|
|
114
|
-
git clone --depth 1 https://github.com/acmesh-official/acme.sh.git /tmp/acme.sh
|
|
115
|
-
cd /tmp/acme.sh && ./acme.sh --install -m $EMAIL
|
|
116
|
-
cd - > /dev/null
|
|
117
|
-
rm -rf /tmp/acme.sh
|
|
112
|
+
curl https://get.acme.sh | sh -s email=$EMAIL
|
|
118
113
|
source ~/.bashrc 2>/dev/null || true
|
|
119
114
|
fi
|
|
120
115
|
|