Skip to content

Commit 555a4b4

Browse files
Preserve existing files on gh-pages during docs deploy
Replace `force_orphan` with `keep_files` in `peaceiris/actions-gh-pages` to prevent wiping manually-added files (like screenshots) when deploying generated documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent f06340b commit 555a4b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
github_token: ${{ secrets.GITHUB_TOKEN }}
2626
publish_dir: ./docs
2727
publish_branch: gh-pages
28-
force_orphan: true
28+
keep_files: true

0 commit comments

Comments
 (0)