【发布时间】:2018-04-16 02:30:33
【问题描述】:
抱歉,关于这一切的真正新手问题...几个月前,我使用持续部署将 nodejs/expressJS 应用程序部署到 Heroku - 基于对我的 Github 存储库的更改,该应用程序将更新。只需几个步骤即可完成所有设置 - 非常简单。https://devcenter.heroku.com/articles/github-integration#automatic-deploys
我尝试使用 Google Cloud App Engine 设置类似的东西。我已经尝试了几个小时来找出如何将 Git 存储库链接到我的 App Engine 中,但一直无法弄清楚。
使用“gcloud app deploy”手动部署到 App Engine 似乎每次都复制我的整个项目,需要很长时间。我需要一个基于 git 的解决方案。
你是怎么做到的?我不知道您将如何将源存储库或远程存储库设置为 App Engine 应用的“文件”。
我花了几个小时在谷歌上搜索并尝试了一些东西,但无济于事。
https://cloud.google.com/source-repositories/docs/adding-repositories-as-remotes
https://cloud.google.com/appengine/docs/flexible/nodejs/quickstart
https://cloud.google.com/solutions/continuous-delivery-bitbucket-app-engine
https://cloud.google.com/shell/docs/quickstart
如果有人能指点我一步一步的简单方向,我将不胜感激。
【问题讨论】:
标签: git google-app-engine github continuous-deployment