Skip to content

Instantly share code, notes, and snippets.

View ZeroCool2u's full-sized avatar
🖖
.

Theo Linnemann ZeroCool2u

🖖
.
View GitHub Profile
@ZeroCool2u
ZeroCool2u / README.md
Last active August 26, 2019 20:35
Setup Instructions and Example Github Action for Automated Deployment to Google Cloud Platform App Engine

An updated version of this example can be found here

There are a couple preliminary steps that you'll need to take prior to creating your deployment workflow.

  1. Create a service account and download the json private key file. Be sure you don't commit this file to your repo on accident! Best practice is to minimize the number of permissions this service account has, but for getting setup, you can give the service account project owner permissions and figure out exactly what scope is appropriate later. Click here for docs on creating a service account: https://cloud.google.com/iam/docs/creating-managing-service-account-keys#iam-service-account-keys-create-console
  2. Open a new terminal and cd into the folder your keyfile is located in, then run the following command: