通过Github进行GAE / GCP部署 [英] GAE/GCP deployment via Github

查看:121
本文介绍了通过Github进行GAE / GCP部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google App Engine / Google云端平台,因为我已经有很多年了。现在,在升级到最新的界面之后,我无法使用GCloud SDK(本地安装)来将任何内容部署到我的项目中,并且尽管我已经尝试解决了一些问题,但还是会继续弹出。所以我转而使用GitHub。我成功地将我的GitHub存储库链接到了我的机器上的GitHub应用程序和GCP的源代码页面。


$ b



然而,此处显示的源代码并不反映页面本身。当我访问我网站的主要* .appspot.com域名时,更新的网站是旧网站,并且尚未更新为新的网站,我刚刚在一小时前推出了这个网站。除了提交和同步更改之外,还有什么我需要做的,以便让我的GitHub存储库的代码反映网站上显示的内容?

解决方案

看起来您链接了您的云存储库,但未按照在文档中。出于这个原因,推送到您的回购站可能会更新源浏览功能的视图,但不会实际触发部署。



我很高兴听到所有内容都适用于无论如何,你已经采用了不同的方式来部署SDK并使用python,并且我们都了解问题的原因。


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.

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?

解决方案

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.

这篇关于通过Github进行GAE / GCP部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆