ci: cron-агрегатор внешних RSS (scripts/package.json + install-cron.sh)
All checks were successful
deploy / deploy (push) Successful in 48s

- Изолированный scripts/package.json с одним fast-xml-parser, чтобы не раздувать root node_modules на хосте
- scripts/install-cron.sh — настройка cron /etc/cron.d/pushkino-rss-aggregator, hourly /usr/bin/node pull-external-rss.mjs → data/news.json
- logrotate weekly × 4 для /var/log/pushkino-rss-aggregator.log
- Bind-mount data/ уже подцеплен в docker-compose как /var/lib/pushkino/data:ro
This commit is contained in:
striker
2026-05-21 03:31:33 +03:00
parent 87b44d07c6
commit 78fedc59cf
3 changed files with 51 additions and 1 deletions

View File

@@ -22,7 +22,6 @@
},
"devDependencies": {
"@types/sanitize-html": "^2.16.0",
"fast-xml-parser": "^4.5.0",
"sharp": "^0.34.5"
}
}