Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(ci): Replace peaceiris with direct git deploy for gh-pages (#1590)

LearningCircuita255b369adff
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 6977edf044..9df127f1a7 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -392,7 +392,7 @@ jobs:
env:
TEST_IMAGE: ldr-test
- PAGES_URL: https://learningcircuit.github.io/local-deep-research/coverage/
+ PAGES_URL: https://learningcircuit.github.io/local-deep-research/
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
@@ -486,14 +486,42 @@ jobs:
always() &&
(github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') &&
github.event_name == 'push'
- uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./coverage/htmlcov
- destination_dir: coverage
- keep_files: false
- force_orphan: true
- commit_message: "docs: update coverage report"
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ set -e
+
+ # Check source exists
+ if [ ! -d "coverage/htmlcov" ]; then
+ echo "ERROR: coverage/htmlcov does not exist"
+ exit 1
+ fi
+
+ FILE_COUNT=$(find coverage/htmlcov -type f | wc -l)
+ echo "Found $FILE_COUNT files to deploy"
+
+ if [ "$FILE_COUNT" -eq 0 ]; then
+ echo "ERROR: No files to deploy"
+ exit 1
+ fi
+
+ # Setup git
+ cd coverage/htmlcov
+ git init
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+
+ # Create .nojekyll to bypass Jekyll processing
+ touch .nojekyll
+
+ # Add all files and commit
+ git add -A
+ git commit -m "docs: update coverage report ${{ github.sha }}"
+
+ # Force push to gh-pages branch
+ git push --force "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git" HEAD:gh-pages
+
+ echo "Deployment complete!"
# Add coverage summary as PR comment for easy visibility
- name: Comment coverage on PR