mastodonCzStats/.gitea/workflows/pull.yaml
Bot fc181ea086 dev-cron (#1)
Reviewed-on: #1
Co-authored-by: Bot <andrle.jan@centrum.cz>
Co-committed-by: Bot <andrle.jan@centrum.cz>
2024-06-28 14:11:01 +02:00

18 lines
536 B
YAML

name: Collect month data
on:
workflow_dispatch:
schedule:
- cron: '0 12 1 * *' # At 12:00 Prague on the first day of the month
jobs:
update-rss:
runs-on: ubuntu-latest
steps:
- uses: https://gitea.com/actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: https://gitea.com/actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: lts/*
cache: 'npm'
- run: npm ci
- run: npx nodejsscript mastodonCzStats.js --git