Last year, we rolled out support for deploying your Google App Engine application using git, giving you an easy-to-use mechanism for deploying your application on every push to your cloud repository’s master branch.

Today, we’re happy to extend support for this feature to repositories hosted on GitHub. By connecting your App Engine project to your GitHub repository, you can trigger a deployment by pushing to the project’s master branch on GitHub.

Let’s walk through an example.

Prerequisites: If you don’t have the git tool installed, get it here.

Connecting the repository


  1. Go to the Google Developers Console and create a project or click on an existing project that you wish to sync with GitHub.
  2. Click Cloud Development and then Releases in the left-hand navigation panel.
  3. The next step is to link your project’s repository to GitHub. On the Configuration click Connect a GitHub repo.
  4. Enter the GitHub repository URL in the dialog box that appears. The repository URL is in the format https://github.com/username/repository. This is the same URL that you open in your web browser when you are viewing the repository on the GitHub site.
  5. Read and accept the consent option in the dialog box and click Connect.
  6. Authorize access to your repository in the GitHub page that opens.
  7. The GitHub repository now appears on the Releases page and is all set up for Python and PHP development.
  8. If you are setting up this feature for use with a Java application, select the Java: Maven Build, Unit Test, and Deploy option in the Release Type field.
  9. Now, every time you push to your project’s master branch on GitHub using git push origin master the source code will be deployed to App Engine. You can click on the Release History tab to see the status of the current deployment.

This feature makes it easier than ever to deploy your App Engine application hosted on GitHub!

- Posted by Weston Hutchins, Product Manager