Skip to content

Commit c4c5fd2

Browse files
committed
feat: store rollups to respective dirs
1 parent f0070bf commit c4c5fd2

File tree

8 files changed

+43
-280
lines changed

8 files changed

+43
-280
lines changed

.github/workflows/repomix-rollup.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main]
66
paths-ignore:
7-
- '_repomix-output/**'
7+
- '**/_rollup.md'
88
workflow_dispatch:
99

1010
jobs:
@@ -29,10 +29,6 @@ jobs:
2929
echo "skip=false" >> $GITHUB_OUTPUT
3030
fi
3131
32-
- name: Create output directory
33-
if: steps.check_commit.outputs.skip != 'true'
34-
run: mkdir -p _repomix-output
35-
3632
- name: Setup Bun
3733
if: steps.check_commit.outputs.skip != 'true'
3834
uses: oven-sh/setup-bun@v2
@@ -48,30 +44,30 @@ jobs:
4844
run: |
4945
repomix \
5046
--include "01-Primary-Categories/**/*.md,02-Secondary-Categories/**/*.md,03-Content/**/*.md" \
51-
--output "_repomix-output/full-vault-rollup.md" \
47+
--output "_rollup.md" \
5248
--style markdown
5349
54-
- name: Generate sessions-only rollup
50+
- name: Generate sessions rollup
5551
if: steps.check_commit.outputs.skip != 'true'
5652
run: |
5753
repomix \
5854
--include "03-Content/sessions/**/*.md" \
59-
--output "_repomix-output/sessions-only.md" \
55+
--output "03-Content/sessions/_rollup.md" \
6056
--style markdown
6157
62-
- name: Generate speakers-only rollup
58+
- name: Generate speakers rollup
6359
if: steps.check_commit.outputs.skip != 'true'
6460
run: |
6561
repomix \
6662
--include "03-Content/speakers/**/*.md" \
67-
--output "_repomix-output/speakers-only.md" \
63+
--output "03-Content/speakers/_rollup.md" \
6864
--style markdown
6965
7066
- name: Check for changes
7167
if: steps.check_commit.outputs.skip != 'true'
7268
id: check_changes
7369
run: |
74-
git add _repomix-output/
70+
git add _rollup.md 03-Content/sessions/_rollup.md 03-Content/speakers/_rollup.md
7571
if git diff --staged --quiet; then
7672
echo "has_changes=false" >> $GITHUB_OUTPUT
7773
else

.obsidian/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
"useTab": false,
1313
"tabSize": 2,
1414
"readableLineLength": true
15-
}
15+
}

.obsidian/appearance.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"textFontFamily": "",
55
"monospaceFontFamily": "",
66
"cssTheme": ""
7-
}
7+
}

.obsidian/core-plugins.json

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,33 @@
1-
[
2-
"file-explorer",
3-
"global-search",
4-
"switcher",
5-
"graph",
6-
"backlink",
7-
"outgoing-link",
8-
"tag-pane",
9-
"page-preview",
10-
"templates",
11-
"note-composer",
12-
"command-palette",
13-
"editor-status",
14-
"starred",
15-
"outline",
16-
"word-count",
17-
"file-recovery"
18-
]
1+
{
2+
"file-explorer": true,
3+
"global-search": true,
4+
"switcher": true,
5+
"graph": true,
6+
"backlink": true,
7+
"outgoing-link": true,
8+
"tag-pane": true,
9+
"page-preview": true,
10+
"daily-notes": false,
11+
"templates": true,
12+
"note-composer": true,
13+
"command-palette": true,
14+
"slash-command": false,
15+
"editor-status": true,
16+
"markdown-importer": false,
17+
"zk-prefixer": false,
18+
"random-note": false,
19+
"outline": true,
20+
"word-count": true,
21+
"slides": false,
22+
"audio-recorder": false,
23+
"workspaces": false,
24+
"file-recovery": true,
25+
"publish": false,
26+
"sync": false,
27+
"canvas": true,
28+
"footnotes": false,
29+
"properties": true,
30+
"bookmarks": true,
31+
"bases": true,
32+
"webviewer": false
33+
}

.repomixignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Prevent RepoMix from processing its own outputs
2-
_repomix-output/
3-
**/repomix-output.*
4-
**/vault-rollup.*
2+
**/_rollup.md
53

64
# Exclude system files
75
.git/

_repomix-output/.gitkeep

Lines changed: 0 additions & 3 deletions
This file was deleted.

_repomix-output/sessions-only.md

Lines changed: 0 additions & 105 deletions
This file was deleted.

_repomix-output/speakers-only.md

Lines changed: 0 additions & 138 deletions
This file was deleted.

0 commit comments

Comments
 (0)