wiki_ghostguild/scripts
Jennie Robinson Faber 888fa2f6b5 Fix two cron jobs that surfaced once the container could actually run them
With yesterday's cron infrastructure fix in place, both daily jobs got
to actually execute today and revealed bugs that had been hiding behind
the silent failures.

1. Wiki export crashed on docs whose body starts with `---` (markdown
   horizontal rule). matter.stringify(str, data) re-parses str as if
   it might already contain frontmatter, so a leading `---` makes
   gray-matter try to YAML-parse the body and choke on the first
   `Title: subtitle` colon. Pass {content: str} instead — the parser
   only runs on bare strings, so an object skips the re-parse path.

2. outline-backup.sh referenced docker container names `outline-postgres`
   and `outline`, but DokPloy names containers `${project}-${service}-1`,
   so the backup got `Error response from daemon: No such container`.
   Derive names from $APP_NAME (set to the compose project name) with
   POSTGRES_CONTAINER / OUTLINE_CONTAINER overrides for portability.
2026-04-08 11:57:02 +01:00
..
.cursorignore Add configuration to block access to hidden files in nginx 2026-03-31 17:50:00 +01:00
.cursorindexingignore Add configuration to block access to hidden files in nginx 2026-03-31 17:50:00 +01:00
export-content-cron.sh Add cron container for daily backups and content export 2026-03-24 09:14:16 +00:00
export-content.js Fix two cron jobs that surfaced once the container could actually run them 2026-04-08 11:57:02 +01:00
import-curriculum.js Add Coop Foundations Curriculum content and import script 2026-03-09 14:33:06 +00:00
migrate-content.js Replace Nuxt wiki with Outline deployment config 2026-03-01 15:45:44 +00:00
migrate-hub.js Revert wiki theme CSS to previous version 2026-03-29 21:30:58 +01:00
outline-backup.sh Fix two cron jobs that surfaced once the container could actually run them 2026-04-08 11:57:02 +01:00
package-lock.json Add daily wiki content export 2026-03-04 17:34:09 +00:00
package.json Replace Nuxt wiki with Outline deployment config 2026-03-01 15:45:44 +00:00