Skip to content

Commit 1323fcd

Browse files
committed
fix: 修正 GitHub Pages 部署路径配置 - 调整 publish_dir 为相对于 working-directory 的正确路径
1 parent 66f9872 commit 1323fcd

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: dist
5252
force_orphan: true # 确保使用干净的 gh-pages 分支
5353
commit_message: "deploy: 更新 GitHub Pages 站点"

0 commit comments

Comments
 (0)