将部分脚本参数交给 Worker 管理.

This commit is contained in:
2023-01-28 22:03:35 +08:00
parent dbd05b2ca8
commit 347dbe2135
3 changed files with 30 additions and 15 deletions

View File

@ -3,11 +3,11 @@
########## 一些配置 ##########
# 默认获取 SSH key 的地方,一般是 Github.
sshkey_url="https://q-ssh.lamgc.me/ssh.keys"
sshkey_url="{{ SSH_KEY_URL }}"
# 默认的 Cron 执行计划, 每天凌晨 0 点执行
default_cron="0 0 * * *"
default_cron="{{ DEFAULT_CRON }}"
# 脚本 Url
script_url="https://q-ssh.lamgc.me/script.sh"
script_url="{{ SCRIPT_URL }}"
############ 脚本区 ##########