fix: GitHub Pages 默认使用 Jekyll 处理站点文件,而 Jekyll 会忽略所有以下划线开头的文件和目录
This commit is contained in:
3
.github/workflows/pages.yml
vendored
3
.github/workflows/pages.yml
vendored
@@ -41,6 +41,9 @@ jobs:
|
|||||||
- name: move to dist
|
- name: move to dist
|
||||||
run: mv docs/.vitepress/dist/* dist/docs && mv playground/dist/* dist/playground
|
run: mv docs/.vitepress/dist/* dist/docs && mv playground/dist/* dist/playground
|
||||||
|
|
||||||
|
- name: Bypass Jekyll on GitHub Pages
|
||||||
|
run: touch dist/.nojekyll
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: crazy-max/ghaction-github-pages@v2
|
uses: crazy-max/ghaction-github-pages@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user