refractr/src/example/config.toml

36 lines
1.4 KiB
TOML
Raw Normal View History

# ***********************************
# Example configuration for refractr
# ***********************************
[config]
# The "from" field is a string of the original/main repository you want to pull
# This field is REQUIRED
#from = "https://git.brysonsteck.xyz/brysonsteck/refractr"
# The "to" field is a list of strings of the repositories you want to push the repo
# from the "from" field to. These repositories must exist on the remote server
# It's recommended that you use SSH to avoid HTTPS authentication
# This field is REQUIRED
#to = ["git@codeberg.org:brysonsteck/refractr.git", "git@github.com:brysonsteck/refractr.git"]
# The "branches" field is a list of branches you want to mirror from the original
# repository.
# This field is OPTIONAL, will default to ["master"] if omitted
#branches = ["master"]
[git]
# The "ssh_identity_file" is your private SSH key that you will use to push updates
# from the original repository.
# This field is REQUIRED if you are using SSH to push, otherwise OPTIONAL
#ssh_identity_file = "/path/to/.ssh/id_rsa"
[schedule]
# The "enabled" field turns on the schedule feature of refractr.
# This field is REQUIRED.
#enabled = false
2025-03-02 11:47:29 -07:00
# The "interval" field is the amount of seconds refractor will wait before
# pulling updates from the original repository if the schedule feature is enabled.
# This field is REQUIRED if "enabled" is set to true, otherwise OPTIONAL
2025-03-02 11:47:29 -07:00
#interval = 300