From af43fa142219e99a752c55a1c85ac423b31f6a54 Mon Sep 17 00:00:00 2001 From: Jan Andrle Date: Wed, 26 Jun 2024 15:52:37 +0200 Subject: [PATCH] :zap: added cron --- .gitea/workflows/pull.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitea/workflows/pull.yaml diff --git a/.gitea/workflows/pull.yaml b/.gitea/workflows/pull.yaml new file mode 100644 index 0000000..bab5907 --- /dev/null +++ b/.gitea/workflows/pull.yaml @@ -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