From 7e46c23f3ad1c04ba2a5ab0439a3134a015de79f Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Thu, 2 Apr 2026 18:25:02 +0200 Subject: [PATCH] feat: restore large files and data dirs in site deploy generate_site.py resolves files on disk for gap analysis. Without large files and data directories, the deployed site showed 148 missing platform files and 207 unsourced core complement files. --- .github/workflows/deploy-site.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index 6a2b32ab..a673cf28 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -36,6 +36,27 @@ jobs: - run: pip install pyyaml mkdocs-material pymdown-extensions + - name: Restore large files from release + run: | + mkdir -p .cache/large + gh release download large-files -D .cache/large/ 2>/dev/null || true + for f in .cache/large/*; do + [ -f "$f" ] || continue + name=$(basename "$f") + target=$(grep "$name" .gitignore | head -1) + if [ -n "$target" ] && [ ! -f "$target" ]; then + mkdir -p "$(dirname "$target")" + cp "$f" "$target" + echo "Restored: $target" + fi + done + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Refresh data directories + run: python scripts/refresh_data_dirs.py + continue-on-error: true + - name: Generate site run: | python scripts/generate_site.py