Reputation: 3743
Is possible to access or copy (transfer) a git Google Cloud Source repository to Google Cloud Storage.
The idea is to use the git repo as a website like GitHub Pages.
Upvotes: 2
Views: 2030
Reputation: 13424
You can do this as follows:
gsutil cp -r dir1/dir2 gs://my_bucket/subdir
to copy the contents of the data to Google Cloud Storage, possibly after processing (e.g., if you want to use something like Jekyll or Middleman to generate your website). Note that this will also copy your .git
directory as well, which you might want to exclude.Upvotes: 3