windmill-labs / windmill-sync-example

28 stars 10 forks source link

question: sync from windmill instance to github ? #9

Open Anton-Shutik opened 1 year ago

Anton-Shutik commented 1 year ago

Hi, Thanks for nice github actions that do great job, syncing things from GH to windmill.

But is there any way we can setup script by cron that will be triggered on windmill itself and will sync the scripts/flows/apps from windmill instance to github ? The reason I need this is that our windmill instance running under VPN and is not visible from the internet and this way github cannot access it when running wmill push/pull commands. But windmill instance can access github instead.

I know that we can look into self-hosted runners for GHA, but I'm looking for simpler solution.

Thanks

rubenfiszel commented 1 year ago

Oh yes, it would be rather simple actually. Just clone the github repo as a bash script and then run wmill sync push from there :)