GAE/GCP deployment via Github

2019-06-01 05:07发布

I am using Google App Engine / Google Cloud Platform unpaid, as I have been for many many years. Now, after the upgrade to the newest interface, I am unable to use the GCloud SDK (installed locally) to deploy anything to my projects, and while I have tried to solve a few issues, more keep popping up. So I've switched over to using GitHub. I successfully linked my GitHub repository to the GitHub app on my machine, and to the GCP "Source Code" page.

Google Developers Console

However, the source code shown here does not reflect the page itself. When I visit the main "*.appspot.com" domain for my site, the updated site is the old one, and has not been updated to the new one, which I just pushed about an hour ago. In addition to committing and syncing changes, is there anything else I need to do to get my GitHub repository's code to reflect what shows up on the site itself?

1条回答
成全新的幸福
2楼-- · 2019-06-01 05:26

It appears you linked your cloud repository without setting up a push-to-deploy pipeline as described in the docs. For this reason, pushing to your repo may update the source browse feature's view, but won't actually trigger a deployment.

I'm glad to hear everything is working for you at any rate, having gone a different route of deploying normally with the SDK and using python, and we both understand the cause of the issue.

查看更多
登录 后发表回答