This commit is contained in:
2023-03-10 11:52:36 +08:00
parent b0a7082a38
commit 70eae8af65
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -9,10 +9,10 @@ else
useradd -m -s /bin/bash appruner
fi
app_name=gin-article
# 获取当前目录的绝对路径
app_path=$(cd "$(dirname "$0")"; pwd)
app_name=$(basename "${app_path}")
# 执行 git pull 命令
cd ${app_path} && git pull