# *********************************** # Example configuration for refractr # *********************************** # The "from" field is a string of the original/main repository you want to pull # This field is REQUIRED and MUST start with "https://" or "ssh://" #from = "https://git.brysonsteck.xyz/brysonsteck/refractr" # The "to" field is a list of strings of the remotes you want to push the repo from the "from" field to # These repositories must exist on the remote server # This field is REQUIRED and MUST be SSH remotes #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 and, if your "from" field is an SSH remote, for cloning the original repository # If you are running from Docker, you will need to copy your private key to your container or image # This field is REQUIRED #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 # To avoid creating a DoS attack, this is set to only accept values of >=60 # This field is REQUIRED if "enabled" is set to true, UNUSED if false #interval = 300