Update deploy.yml

This commit is contained in:
Vaica committed 2026-06-25 14:12:07 +08:00
1 parent c0114c6882
commit 9bcf69705d
1 file changed
+6 -6
+6 -6
View File
@@ -490,6 +490,12 @@ jobs:
id: start-upyun-download id: start-upyun-download
run: echo "start_time=$(date +%s)" >> $GITHUB_OUTPUT 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 - name: Download build artifact
if: steps.check.outputs.deployed == 'true' if: steps.check.outputs.deployed == 'true'
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
@@ -512,12 +518,6 @@ jobs:
id: start-upyun-upload id: start-upyun-upload
run: echo "start_time=$(date +%s)" >> $GITHUB_OUTPUT 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 - name: Deploy to UpYun
if: steps.check.outputs.deployed == 'true' if: steps.check.outputs.deployed == 'true'
env: env: