feat: Include cron-sync-artifact in Stash configuration

This commit is contained in:
Peng-YM 2022-08-09 22:42:13 +08:00
parent 6ea3575101
commit 4dcb9ae79e

View File

@ -10,7 +10,18 @@ http:
type: request type: request
require-body: true require-body: true
timeout: 120 timeout: 120
cron:
script:
- name: cron-sync-artifacts
cron: "0 0 * * *"
timeout: 120
script-providers: script-providers:
sub-store: sub-store:
url: https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store.min.js 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 interval: 86400