Fix Action
Build and Deploy Sphinx Docs / Build Documentation (pull_request) Has been skipped

This commit is contained in:
2025-08-25 11:41:20 +08:00
parent 79a65b9c17
commit 07474e33ca
+2 -1
View File
@@ -8,6 +8,7 @@ on:
jobs: jobs:
build-docs: build-docs:
name: Build Documentation name: Build Documentation
if: github.event.pull_request.merged == true
runs-on: linux runs-on: linux
steps: steps:
@@ -19,7 +20,7 @@ jobs:
# 创建主工作目录并克隆仓库 # 创建主工作目录并克隆仓库
if [ ! -d /home/ly0kos/work/test_env ]; then if [ ! -d /home/ly0kos/work/test_env ]; then
echo "Cloning repository to main worktree..." echo "Cloning repository to main worktree..."
git clone http://192.168.1.198:3000/yuysh/MKB.git /home/ly0kos/work/test_env git clone http://localhost:3000/yuysh/Manlink_Doc.git /home/ly0kos/work/test_env
cd /home/ly0kos/work/test_env cd /home/ly0kos/work/test_env
echo "Creating virtual environment..." echo "Creating virtual environment..."
python -m venv .venv python -m venv .venv