windmill-labs/windmill-sync-example

question: sync from windmill instance to github ?

Anton-Shutik opened this issue · 1 comments

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

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 :)