made it so the Clear Cache runs automatically every 3 days at midnight

This commit is contained in:
João Vitor Polverari 2024-03-31 00:46:42 -03:00
parent da18c1301b
commit 5c4c286e54

View File

@ -1,8 +1,10 @@
# Workflow credited towards the Lemonade team (https://github.com/Lemonade-emu/Lemonade/blob/18f3b2cfc593b5a9c1eb5eda439f021284f4c993/.github/workflows/clear-cache.yml)
name: Clear cache name: Clear cache
# Workflow credited towards Lemonade (https://github.com/Lemonade-emu/Lemonade/blob/18f3b2cfc593b5a9c1eb5eda439f021284f4c993/.github/workflows/clear-cache.yml)
on: on:
workflow_dispatch: workflow_dispatch:
schedule:
- cron: '0 0 */3 * *'
permissions: permissions:
actions: write actions: write
@ -28,4 +30,4 @@ jobs:
cache_id: cache.id, cache_id: cache.id,
}) })
} }
console.log("Clear completed") console.log("Clear completed")