# *********************************** # 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 REQUIRED #branches = ["master"] # The "work_dir" field is where refractr will write the clone to # This field is OPTIONAL, will default to /tmp/refractr on *NIX and # $env:TEMP\refractr on Windows #work_dir = /tmp/refractr [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 # 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 # To avoid overwhelming servers, this is set to only accept values of >=60 #interval = 300