Skip to content

Instantly share code, notes, and snippets.

@justinwhite
Created September 29, 2017 23:39
Show Gist options
  • Save justinwhite/eb03841c660d4b8394f5a391b3dca8c4 to your computer and use it in GitHub Desktop.
Save justinwhite/eb03841c660d4b8394f5a391b3dca8c4 to your computer and use it in GitHub Desktop.
Build file to auto deploy to app engine from a github push
steps:
- name: 'gcr.io/cloud-builders/gcloud'
args: ['app', 'deploy']
@justinwhite
Copy link
Author

To enable, install a Build Trigger:

  1. Open the Google Cloud Platform console
  2. Open Container Registry
  3. Open Build Triggers

Note that this effectively replaces the GitHub Push-to-Deploy feature that was deprecated a few years ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment