From aeb17234a0a40fad5fbd55fe7ad330f31d9a5b1f Mon Sep 17 00:00:00 2001 From: liubocheng <22913113@qq.com> Date: Wed, 26 Mar 2025 09:09:00 +0800 Subject: [PATCH] =?UTF-8?q?dev:=E4=BF=AE=E6=94=B9=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy-dev.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy-dev.yml b/.gitea/workflows/deploy-dev.yml index 4805d0f..c5b882b 100644 --- a/.gitea/workflows/deploy-dev.yml +++ b/.gitea/workflows/deploy-dev.yml @@ -9,7 +9,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + # 指定分支、标签或提交哈希 + ref: dev + # 拉取深度(节省时间与带宽) + fetch-depth: 0 # 0 表示拉取完整历史 - name: Install SSH tools run: |