cron + git

This commit is contained in:
2024-06-28 14:01:41 +02:00
parent f33b0fa3c2
commit dcf1a45684
2 changed files with 18 additions and 5 deletions

View File

@ -1,8 +1,8 @@
name: Update RSS
name: Collect month data
on:
workflow_dispatch:
schedule:
- cron: '39 19 * * *' # daily at 19:39 Prague
- cron: '0 12 1 * *' # At 12:00 Prague on the first day of the month
jobs:
update-rss:
@ -14,4 +14,4 @@ jobs:
node-version: lts/*
cache: 'npm'
- run: npm ci
- run: npx nodejsscript cli.mjs pull --git
- run: npx nodejsscript mastodonCzStats.js --git