Update run.sh
Browse files
run.sh
CHANGED
@@ -42,15 +42,15 @@ export EXECUTIONS_DATA_SAVE_ON_PROGRESS=false
|
|
42 |
# Don't save manually launched executions
|
43 |
export EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false
|
44 |
|
45 |
-
echo "检查 ${WEBDAV_URL}buildlog.txt 是否存在"
|
46 |
-
if curl -u "$WEBDAV_USER:$WEBDAV_PASSWORD" -f -o "$LOG_FILE" "${WEBDAV_URL}buildlog.txt"; then
|
47 |
-
|
48 |
-
|
49 |
-
else
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
fi
|
54 |
|
55 |
# 使用绝对路径调用 n8n
|
56 |
exec n8n
|
|
|
42 |
# Don't save manually launched executions
|
43 |
export EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false
|
44 |
|
45 |
+
# echo "检查 ${WEBDAV_URL}buildlog.txt 是否存在"
|
46 |
+
# if curl -u "$WEBDAV_USER:$WEBDAV_PASSWORD" -f -o "$LOG_FILE" "${WEBDAV_URL}buildlog.txt"; then
|
47 |
+
# echo "日志文件下载成功并写入部署时间: ${LOG_FILE}"
|
48 |
+
# echo "hf部署时间: ${current_time}" >> "${LOG_FILE}"
|
49 |
+
# else
|
50 |
+
# echo "WebDAV 上日志文件不存在,创建新的日志文件: ${LOG_FILE}"
|
51 |
+
# touch "${LOG_FILE}"
|
52 |
+
# echo "hf部署时间: ${current_time}" >> "${LOG_FILE}"
|
53 |
+
# fi
|
54 |
|
55 |
# 使用绝对路径调用 n8n
|
56 |
exec n8n
|