Skip to content

Commit c6cc588

Browse files
koenbeukclaude
andcommitted
Fix docs deploy: copy dotfiles from dist to gh-pages
`cp -r dist/* .` skips `.nojekyll`, which meant underscore-prefixed directories (_playground/, _framework/, _content/) were still being stripped by Jekyll on gh-pages.github.io even after adding the .nojekyll source file. Use `cp -rT dist .` which copies the whole tree including dotfiles. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e0c5237 commit c6cc588

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
! -name 'dev' \
8080
-exec rm -rf {} +
8181
82-
# Copy new VitePress build output
83-
cp -r ../docs/.vitepress/dist/* .
82+
# Copy new VitePress build output (dist/. form to include dotfiles like .nojekyll)
83+
cp -rT ../docs/.vitepress/dist .
8484
8585
# Configure git
8686
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)