How to set up auto-deploy to AppEngine when pushing to Git Repository

I’ve heard that other platforms support auto-deployment of their code to production when they push changes to their Git repository.

Can I set up something similar to this for AppEngine? How?

  • fatal: could not parse HEAD Error When Committing
  • How can I merge changes from a branch that contains a subset of directories from another?
  • BitBucket.org - limitations only number of users?
  • How to pull specific commit code from bitbucket-git
  • How to import Github issues and wikis to BitBucket?
  • Should xcworkspace be in gitignore
  • I’m using Python2.7 on Windows, and bitbucket as a repository.

    Thanks!

  • Merge git repo into branch of another repo
  • Git to TFS 2008 one way migration (with history)
  • Git - How to use .netrc file on windows to save user and password
  • How can I move all git content one-level up in the folder hierarchy?
  • How can I fork my own GitHub repository?
  • Which has better .NET implementation, Mercurial or git?
  • 2 Solutions collect form web for “How to set up auto-deploy to AppEngine when pushing to Git Repository”

    Since app engine deploy is just a python script, why can’t you just write a shell script that calls ‘git push’ followed by ‘python appcfg.py deploy’?

    Any bitbucket hooks that will send from bitbucket->appengine after you upload to app is probably a bad idea since it will require storing your app engine login credentials on github.

    Other projects might have your app server pull from github/bitbucket. You can do this if your app engine site just serves static websites using http://drydrop.binaryage.com/, but you can’t update actual running code this way.

    Recently, App Engine added Push to Deploy features: https://developers.google.com/appengine/docs/push-to-deploy

    It only has built in support for GitHub, but it might still be possible to configure BitBucket to work with it.

    Git Baby is a git and github fan, let's start git clone.