aocsync/config.yaml
2025-12-03 09:13:42 -08:00

48 lines
1.4 KiB
YAML

# Configuration for AOC Sync
# Poll interval in seconds
poll_interval: 300
# Output directory for generated HTML
output_dir: "output"
# Data storage
data_dir: "data"
# Optional: rsync output to remote server after successful run
rsync:
enabled: true
destination: "xinu.tv:/var/www/static/aoc/"
# Repositories to monitor
repositories:
# Example: Single repository with all years
- name: "wathiede"
url: "https://github.com/wathiede/advent"
type: "single" # single repo for all years
local_path: "repos/wathiede"
# Optional: specify years if auto-detection fails
# years: [2023, 2024]
# Example: Multiple repositories, one per year
- name: "ggriffiniii"
type: "multi-year" # one repo per year
years:
- year: 2021
url: "https://github.com/ggriffiniii/aoc2021"
local_path: "repos/ggriffiniii-2021"
- year: 2022
url: "https://github.com/ggriffiniii/aoc2022"
local_path: "repos/ggriffiniii-2022"
- year: 2025
url: "https://github.com/ggriffiniii/aoc2025"
local_path: "repos/ggriffiniii-2025"
#- year: 2024
# url: "https://github.com/user2/aoc-2024"
# local_path: "repos/user2-2024"
# Years to compare (optional, if not specified, all years found will be used)
# compare_years: [2025]
# Days to compare (optional, if not specified, all days found will be used)
# compare_days: [1, 2, 3, 4, 5]