menicka-cron/.gitea/workflows/pull.yaml
2024-08-29 20:02:13 +02:00

18 lines
497 B
YAML

name: Update menicka
on:
workflow_dispatch:
schedule:
- cron: '0 9 * * *' # every day at 9:00
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 cli.mjs pull --git