Skip to content

Commit ed61d51

Browse files
committed
fix: 修正 GitHub Pages 部署路径 - 使用从仓库根目录开始的完整路径
1 parent 1323fcd commit ed61d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ jobs:
4848
uses: peaceiris/actions-gh-pages@v4
4949
with:
5050
github_token: ${{ secrets.GITHUB_TOKEN }}
51-
publish_dir: dist
51+
publish_dir: office-website/dist
5252
force_orphan: true # 确保使用干净的 gh-pages 分支
5353
commit_message: "deploy: 更新 GitHub Pages 站点"

0 commit comments

Comments
 (0)