added cron

This commit is contained in:
Jan Andrle 2024-06-26 15:52:37 +02:00
parent de9175c06c
commit af43fa1422
Signed by: jaandrle
GPG Key ID: B3A25AED155AFFAB

View File

@ -0,0 +1,17 @@
name: Update RSS
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *' # daily at 3am
jobs:
Explore-Gitea-Actions:
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.js pull