From 63e0da579fd6da070a77bc7548310b84c769751f Mon Sep 17 00:00:00 2001 From: YuYang Shen Date: Mon, 25 Aug 2025 12:17:32 +0800 Subject: [PATCH] Fix Action(main->master) --- .gitea/workflows/sphinx_test.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/sphinx_test.yml b/.gitea/workflows/sphinx_test.yml index 3182a2a..21aa204 100644 --- a/.gitea/workflows/sphinx_test.yml +++ b/.gitea/workflows/sphinx_test.yml @@ -13,13 +13,13 @@ jobs: steps: # 第一步:设置主工作目录和稳定的虚拟环境 - - name: Set up main worktree with stable environment + - name: Set up master worktree with stable environment run: | - echo "=== Setting up main worktree ===" + echo "=== Setting up master worktree ===" # 创建主工作目录并克隆仓库 if [ ! -d /home/ly0kos/work/test_env ]; then - echo "Cloning repository to main worktree..." + echo "Cloning repository to master worktree..." git clone http://localhost:3000/yuysh/Manlink_Doc.git /home/ly0kos/work/test_env cd /home/ly0kos/work/test_env echo "Creating virtual environment..." @@ -28,15 +28,15 @@ jobs: echo "Installing dependencies..." pip install --upgrade pip pip install -r requirements.txt - echo "✓ Main worktree and virtual environment created" + echo "✓ master worktree and virtual environment created" else - echo "Updating existing main worktree..." + echo "Updating existing master worktree..." cd /home/ly0kos/work/test_env - git pull origin main + git pull origin master source .venv/bin/activate echo "Updating dependencies if needed..." pip install -r requirements.txt - echo "✓ Main worktree updated" + echo "✓ master worktree updated" fi # 验证环境