Spaces:
Paused
Paused
Update sync_data.sh
Browse files- sync_data.sh +2 -2
sync_data.sh
CHANGED
|
@@ -36,10 +36,10 @@ sync_data() {
|
|
| 36 |
while true; do
|
| 37 |
# 1. 同步到 GitHub
|
| 38 |
echo "正在开始同步"
|
| 39 |
-
|
| 40 |
# 进入仓库目录
|
| 41 |
cd ./github_data
|
| 42 |
-
|
| 43 |
# 配置 Git 用户信息
|
| 44 |
git config user.name "AutoSync Bot"
|
| 45 |
git config user.email "autosync@bot.com"
|
|
|
|
| 36 |
while true; do
|
| 37 |
# 1. 同步到 GitHub
|
| 38 |
echo "正在开始同步"
|
| 39 |
+
echo "当前工作目录: $(pwd)"
|
| 40 |
# 进入仓库目录
|
| 41 |
cd ./github_data
|
| 42 |
+
echo "进入后工作目录: $(pwd)"
|
| 43 |
# 配置 Git 用户信息
|
| 44 |
git config user.name "AutoSync Bot"
|
| 45 |
git config user.email "autosync@bot.com"
|