File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Ensure LFS applies whether the DB lives under repo-root db/ or frontend/db/
2+ db /** /* .db filter =lfs diff =lfs merge =lfs - text
3+ frontend /db /** /* .db filter =lfs diff =lfs merge =lfs - text
4+
Original file line number Diff line number Diff line change 1919 with :
2020 # fetch-depth: 0 is recommended for a more reliable diff across multiple commits in a push
2121 fetch-depth : 0
22+ lfs : true
23+
24+ - name : Verify LFS and database file
25+ run : |
26+ echo "🔎 Verifying Git LFS and SQLite DB presence..."
27+ git lfs version || true
28+ echo "LFS-tracked files:"
29+ git lfs ls-files || true
30+ echo "Listing DB directories:"
31+ ls -l ./db || true
32+ ls -l ./frontend/db || true
33+ echo "File type of DB files (if present):"
34+ for f in ./db/*.db ./frontend/db/*.db; do
35+ if [ -f "$f" ]; then file "$f" || true; fi
36+ done
37+
38+ - name : Pull LFS objects explicitly (workaround)
39+ run : |
40+ echo "⬇️ Pulling LFS objects explicitly..."
41+ git lfs pull --include="db/**,frontend/db/**" || git lfs pull || true
2242
2343 - name : Detect changed sections
2444 id : detect-changes
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import type {
88 RawIconRow ,
99} from './svg-icons-schema' ;
1010
11+ // DB queries
1112let dbInstance : Database . Database | null = null ;
1213
1314function getDbPath ( ) : string {
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ const {
6060 <div class =" grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" >
6161 {
6262 categories .map ((category : any ) => {
63- // Get base64 icons from database for this category.
63+ // Get base64 icons from database for this category
6464 // Use category.id (source_folder) which is the actual cluster key in the database
6565 const dbIcons = getIconsByCluster (category .id || category .name ) || [];
6666 const previewIcons = dbIcons .slice (0 , 6 );
You can’t perform that action at this time.
0 commit comments