Github和heroku上的应用程序:忽略一个文件,而不是其他文件 [英] App on Github and heroku: Ignore file on one but not the other

查看:126
本文介绍了Github和heroku上的应用程序:忽略一个文件,而不是其他文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,其代码在github上,但托管在heroku上。我有一个配置文件,我不想在Github上,但我需要在heroku上。



任何人都有一个聪明的解决方案? 使用 config vars 而不是文件。


I have an app whose code is up on github but which is hosted on heroku. I have a config file that I don't want on Github, but I need on heroku.

Anyone have a clever solution?

解决方案

Use config vars instead of a file.

这篇关于Github和heroku上的应用程序:忽略一个文件,而不是其他文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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