Deploying from Cloud Source Repositories to App Engine

This topic describes how to integrate Cloud Source Repositories with App Engine.

App Engine is a web framework and cloud computing platform for developing and hosting web applications using the Google Cloud Platform.

You can deploy your code from Cloud Source Repositories to App Engine in the same way as you would using a local files. The steps in this topic show you how.

Clone a repository

If you have not already done so, clone the contents of the GCP repository into a local Git repository using the gcloud source repos clone command:

gcloud source repos clone hello-world

Deploy your application

  1. From a terminal window, navigate to your repository.

  2. Deploy your application.

    gcloud app deploy app.yaml
  3. Follow the prompts to deploy and test your application.

    To pick up new changes, such as when you push an update into your repository, re-run the gcloud app deploy app.yaml command.

  4. Verify that your application is running.

    gcloud app browse
Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Source Repositories Documentation