ASPNETCORE_ENVIRONMENT should be changed to Staging or Production based on deployment environment.
Read SigningKey(base64 encoded) from environment variable
Read DbConnectionString from environment variable
Refer to https://codelabs.developers.google.com/codelabs/cloud-app-engine-aspnetcore/#1
0.Register your application for Cloud SQL Admin API in Google Cloud Platform https://console.cloud.google.com/flows/enableapi?apiid=sqladmin&redirect=https:%2F%2Fconsole.cloud.google.com&_ga=2.244852229.-1628980075.1568042064&_gac=1.216462692.1569770225.Cj0KCQjwrMHsBRCIARIsAFgSeI0nvZjimGuKWdqhSpTUtXBFyzfCKZV3ObOk-r0GqVcIRGWRBbka0LMaAge9EALw_wcB
- Install gcloud cli
- dotnet publish -c Release
- cd to publish folder, copy app.yaml to this folder
- gcloud config set project fvmembership-ewallet
- gcloud beta app deploy