• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

dmathieu/heroku-buildpack-submodules: Install submodules when deploying through ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

dmathieu/heroku-buildpack-submodules

开源软件地址:

https://github.com/dmathieu/heroku-buildpack-submodules

开源编程语言:

Ruby 65.0%

开源软件介绍:

Submodules buildpack

Install submodules when deploying through the Heroku API (eg, with GitHub Sync).

Why

Heroku will automatically fetch submodules when deploying your app with a GIT push.
However, deploying it through the API (which is used by GitHub Sync) will not do so as it doesn't get your git repository data.

This buildpack will parse your .gitmodules file for all submodules and install all of them during your build.

Installation

heroku buildpacks:add https://github.com/dmathieu/heroku-buildpack-submodules

Configuration

In your .gitmodules file you can specify a branch name or an exact exact revision to check out.

For example to specify a branch:

[submodule "path/to/checkout"]
	path = "path/to/checkout"
	url = https://github.com/someuser/somerepo.git
	branch = mybranch

To specify an exact revision:

[submodule "path/to/checkout"]
	path = "path/to/checkout"
	url = https://github.com/someuser/somerepo.git
	revision = d97f4bf

Enjoy!




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
CodeChefVIT/OAuth-Pro: REST APIs for OAuth using LinkedIn, GitHub, Google and Fa ...发布时间:2022-06-13
下一篇:
nextcloud/serverinfo: 发布时间:2022-06-13
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap