run cleanup every three hours

This commit is contained in:
Asier Isayas
2026-01-06 13:24:56 -05:00
parent 38b7de4f66
commit a34c485ae5
3 changed files with 25 additions and 45 deletions

View File

@@ -6,8 +6,8 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
# Once every hour
- cron: "0 15 * * *"
# Once every three hours
- cron: "0 */3 * * *"
permissions:
id-token: write
@@ -36,4 +36,4 @@ jobs:
with:
node-version: 18.x
- run: npm ci
- run: node utils/cleanupDBs.js
- run: node utils/cleanupDBs.js