From 9bcf69705de599533ce6833f6615e8ea9586edeb Mon Sep 17 00:00:00 2001 From: Vaica <94612053+zqlit@users.noreply.github.com> Date: Thu, 25 Jun 2026 14:12:07 +0800 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 76344459..d578f952 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -490,6 +490,12 @@ jobs: id: start-upyun-download run: echo "start_time=$(date +%s)" >> $GITHUB_OUTPUT + - name: Checkout code (for scripts) + if: steps.check.outputs.deployed == 'true' + uses: actions/checkout@v4 + with: + fetch-depth: 1 + - name: Download build artifact if: steps.check.outputs.deployed == 'true' uses: actions/download-artifact@v4 @@ -512,12 +518,6 @@ jobs: id: start-upyun-upload run: echo "start_time=$(date +%s)" >> $GITHUB_OUTPUT - - name: Checkout code (for scripts) - if: steps.check.outputs.deployed == 'true' - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - name: Deploy to UpYun if: steps.check.outputs.deployed == 'true' env: