diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 74b5be8..047ca6a 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -72,9 +72,9 @@ jobs: # Create or switch to gh-pages branch git checkout gh-pages 2>/dev/null || git checkout --orphan gh-pages - # Clean and copy new docs (preserve .git directory) + # Clean and copy new docs (preserve .git directory, include dotfiles) find . -mindepth 1 -not -path './.git' -not -path './.git/*' -delete - cp -r ../docs/dist/* . + cp -r ../docs/dist/. . # Commit and push if there are changes git add -A