From 4dcb9ae79e8eeb3cda8bc4ff1eb58b9179ed274e Mon Sep 17 00:00:00 2001 From: Peng-YM <1048217874pengym@gmail.com> Date: Tue, 9 Aug 2022 22:42:13 +0800 Subject: [PATCH] feat: Include cron-sync-artifact in Stash configuration --- config/Stash.stoverride | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/Stash.stoverride b/config/Stash.stoverride index c793a8e..1e1e4c6 100644 --- a/config/Stash.stoverride +++ b/config/Stash.stoverride @@ -10,7 +10,18 @@ http: type: request require-body: true timeout: 120 + +cron: + script: + - name: cron-sync-artifacts + cron: "0 0 * * *" + timeout: 120 + script-providers: sub-store: url: https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store.min.js + interval: 86400 + + cron-sync-artifacts: + url: https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js interval: 86400 \ No newline at end of file