Skip to content

Commit bada79e

Browse files
author
roymondchen
committed
fix: GitHub Pages 默认使用 Jekyll 处理站点文件,而 Jekyll 会忽略所有以下划线开头的文件和目录
1 parent 06a6068 commit bada79e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
- name: move to dist
4242
run: mv docs/.vitepress/dist/* dist/docs && mv playground/dist/* dist/playground
4343

44+
- name: Bypass Jekyll on GitHub Pages
45+
run: touch dist/.nojekyll
46+
4447
- name: Deploy to GitHub Pages
4548
uses: crazy-max/ghaction-github-pages@v2
4649
with:

0 commit comments

Comments
 (0)