diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-03 21:59:52 +0100 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-07-15 00:25:05 +0200 |
| commit | 40058a97bd8db5fbb57046e1158f4997e4f6e94e (patch) | |
| tree | 489013bbd4e5f22c945f25cbaac59c32d0674a07 /index.js | |
| parent | 913b63d6a02cebc976273794b6d4cf7b9a9d69a8 (diff) | |
Sync down and up around posting
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -110,9 +110,11 @@ async function run() { const gemfile = resolve(join(__dirname, `${filename}.gmi`)); await writeFile(gemfile, gemtext); + await internals.exec(`blog sync-down`); await internals.exec(`blog add ${gemfile}`); await internals.exec(`blog publish ${internals.blogUrl}`); await internals.exec(`blog publish-archive ${internals.archiveUrl}`); + await internals.exec(`blog sync-up`); await rm(gemfile); for (const bookmark of bookmarks) { |