Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

GitHub Actions deploying to App Engine

Hi everyone I am hitting a wall with GitHub actions deploying to app engine when I push to master.
When I run  gcloud deploy manually it deploys as expected using the app.yaml.
Would love to chat with someone on this. Thanks!
deploy_yaml.png

actions error.png

1 2 449
2 REPLIES 2

Hello @luis_pal  ,Welcome on Google Cloud Community.

I've wrote some GH Action code for you. Instead of using RUN, you could use dedicated GH Action step : https://github.com/google-github-actions/deploy-appengine

DamianS_0-1724650532056.png

deliverables: Provide path for your app.yaml file, within your GH repo.

project_id: Use GH variable or provide projectID in a plain text

I'm using SA key for testing such things, so you could follow my approach, or use your preferred one ( for production load, I would recommend go with WIF settings).

--
cheers,
DamianS
LinkedIn medium.com Cloudskillsboost

Thanks DamianS, I'm going to give this a try and I'll let you know how it shakes out.

Cheers!