mirror of
https://github.com/go-i2p/go-github-sync.git
synced 2025-07-03 13:55:18 -04:00
mirror on push
This commit is contained in:
@ -81,6 +81,9 @@ 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{}{
|
||||
"branches": []string{data.MirrorBranch},
|
||||
},
|
||||
"schedule": []map[string]string{
|
||||
{"cron": data.CronSchedule},
|
||||
},
|
||||
|
Reference in New Issue
Block a user