sync-on-push

This commit is contained in:
eyedeekay
2025-05-09 23:07:13 -04:00
parent ecd6b0d4cf
commit 94d5e3d0f6
2 changed files with 4 additions and 7 deletions

View File

@ -81,6 +81,7 @@ func generateWorkflowYAML(data WorkflowTemplate) (string, error) {
workflow := map[string]interface{}{
"name": "Sync Primary Repository to GitHub Mirror",
"on": map[string]interface{}{
"push": map[string]interface{}{},
"schedule": []map[string]string{
{"cron": data.CronSchedule},
},