Sync github repository with google cloud storage bucket -


is possible sync github repository google cloud storage bucket, can edit repository on github , automatically updates bucket changes. have tried google cloud platform source code tools, couldn't find way update bucket based on source code.

thanks

there's no direct way synchronize between git repo , gcs. however, if can tolerate delay between when update github , when changes show in bucket, create google compute engine instance , clone git repo local file system there, , set cron job on instance periodically git pull github repo , runs gsutil rsync update gcs bucket there. make sure exclude .git files rsync command, example running command like:

gsutil rsync -rd -x \.git . gs://your-bucket 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -