我有一个应用程序,其代码在 github 上,但托管在 heroku 上。我在 Github 上有一个我不想要的配置文件,但我需要在 heroku 上。
谁有好的解决办法?
最佳答案
使用config vars而不是文件。
关于ruby-on-rails - Github 和 heroku 上的应用程序 : Ignore file on one but not the other,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5280099/