workflows update

This commit is contained in:
2026-06-11 03:38:57 -05:00
parent 9557a38b1b
commit 148907cabd
8 changed files with 3162 additions and 2 deletions
+10
View File
@@ -158,4 +158,14 @@ func importPlayerShotCharts(db *gorm.DB) {
log.Println("--- Finished Player Shot Chart Import from Predefined List ---")
}
// importMarkPlayoffGames marks games as playoff using the dedicated Basketball Reference playoff schedule.
func importMarkPlayoffGames(db *gorm.DB) {
for season := ${SEASON}; season <= ${SEASON}; season++ {
if err := services.FetchAndMarkPlayoffGames(db, season+1); err != nil {
log.Printf("playoff marking failed for %d: %v", season, err)
}
log.Printf("Playoff games marked for season: %d", season)
}
}
EOF