From 555a4b4a582f1406c9db40111957148a2eec0771 Mon Sep 17 00:00:00 2001 From: Jonathan Hefner Date: Tue, 9 Dec 2025 20:33:10 -0600 Subject: [PATCH] Preserve existing files on `gh-pages` during docs deploy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a33ae2a..0fbb170 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -25,4 +25,4 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs publish_branch: gh-pages - force_orphan: true + keep_files: true