lascarayf
lascarayf

Reputation: 3743

Accessing Google Cloud Source Repositories from Google Cloud Storage

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

Answers (1)

Misha Brukman
Misha Brukman

Reputation: 13424

You can do this as follows:

  1. clone the Google Cloud Source repo
  2. use 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

Related Questions