Skip to content

Commit b5a76e0

Browse files
committed
cd: deploy.yml
1 parent a482aa8 commit b5a76e0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v4
3333
with:
34-
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
35-
- name: Submodule
34+
fetch-depth: 1 # 如果未启用 lastUpdated,则不需要
35+
- name: Clone Plugin-Hub
3636
run: |
37-
cd /home/runner/work/GUI-for-Cores.github.io/GUI-for-Cores.github.io
38-
git submodule update --init
37+
git clone --depth=1 https://github.com/GUI-for-Cores/Plugin-Hub.git
3938
- uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释
4039
with:
4140
version: 9

0 commit comments

Comments
 (0)