Deploying to Google Cloud Compute Engine

Hi all,

New to CI/CD. Wondering what’s the best way to deploy to Google Cloud Compute engine. I ran into the circleci/gcp-cli@2.2.0 ORB. But having trouble actually deploying my Github repo to the instance. It looks like through the CLI the best approach would be to SCP the files over? Another option it looks like is to SSH and run a script.

My understanding is I need a SSH key generated on the compute engine and then add that to CircleCI’s project settings. Then I can use the key with the GCP CLI.

Were you able to figure this out? As we will have to be doing something similar in the not too distant future?