Skip to content

Commit 07bb1d6

Browse files
authored
Update page-deploy.yml
1 parent 0b3fee7 commit 07bb1d6

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

.github/workflows/page-deploy.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
rm -rf !(.git)
2222
2323
- name: Clone PhiCommunity repository
24-
run: git clone https://github.com/MoeFurina/PhiCommunity.git .
24+
run: git clone https://github.com/MoeFurina/PhiCommunity.git ./docs
2525

2626
- name: Setup Node.js with pnpm
2727
uses: actions/setup-node@v4
@@ -34,18 +34,7 @@ jobs:
3434

3535
- name: Build project
3636
run: npm run build
37-
38-
- name: Prepare for deployment
39-
run: |
4037

41-
# 移动dist内容到根目录
42-
shopt -s dotglob
43-
mv dist/* ./
44-
rmdir dist
45-
46-
# 清理临时目录
47-
rm -rf temp-source
48-
4938
- name: Deploy to GitHub Pages
5039
uses: peaceiris/actions-gh-pages@v3
5140
with:

0 commit comments

Comments
 (0)