ENG-1536 Support multiple vault paths in Obsidian build script#891
ENG-1536 Support multiple vault paths in Obsidian build script#891trangdoan982 merged 7 commits intomainfrom
Conversation
Allow OBSIDIAN_PLUGIN_PATH to accept a comma-separated list of vault paths, so devs can build once and mirror output to multiple vaults simultaneously. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
@mdroidian made new changes to format with array instead. I tested with these scenarios and the script correctly made the changes to the right vault without affecting the other
|
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
mdroidian
left a comment
There was a problem hiding this comment.
Let's remove that additional line from .env.example before merging
| # OBSIDIAN_PLUGIN_PATH="path/to/your/obsidian/vault/.obsidian/plugins/discourse-graph" | ||
| # For multiple vaults, use a JSON array: | ||
| # OBSIDIAN_PLUGIN_PATH='["/vault one/plugins/discourse-graph","/vault two/plugins/discourse-graph"]' | ||
| # OBSIDIAN_PLUGIN_REPO_TOKEN=your-github-pat-here No newline at end of file |
There was a problem hiding this comment.
Why did we add OBSIDIAN_PLUGIN_REPO_TOKEN?
There was a problem hiding this comment.
this is for the apps/obsidian/scripts/publish.ts script, so you can push a release to the discourse-graph-obsidian repo
https://www.loom.com/share/79291c06196e43bcae5544a7d2a3dd7c
Summary
OBSIDIAN_PLUGIN_PATHto accept a comma-separated list of vault paths.env.examplewith documentation on the multi-vault syntaxTest plan
OBSIDIAN_PLUGIN_PATH="vault1/path,vault2/path"in.envturbo devCloses ENG-1536
🤖 Generated with Claude Code