| name | obsidian-publish-all |
| description | Publish all active obsidian-help locales (en, ja, pt-br, es, zh, fr) via ob publish. Use this skill whenever the user wants to publish or deploy the help site, push locale changes live, or run ob publish across all locales. |
Publish all active locales to Obsidian Publish.
The working directory is the obsidian-help repo root.
Commands
npx tsx scripts/publish-all.ts --dry-run
npx tsx scripts/publish-all.ts
npx tsx scripts/publish-all.ts fr ja zh
Notes
- Always run
--dry-run first so the user can review the changeset before publishing.
- The script runs
ob publish --path <locale> --all --yes for each locale sequentially.
- If a locale fails, the script continues with the remaining locales and exits with a non-zero code at the end.
- To publish a single locale manually:
ob publish --path <locale> --all --yes
- Active locales are defined in
scripts/locales.json — this is the single source of truth. Do not edit en/publish.js or publish-all.ts directly to add/remove locales; edit locales.json and run npx tsx scripts/build-publish-js.ts to regenerate.