ruby-on-rails - 推送到 heroku 失败(预接收挂钩被拒绝)
问题描述
remote: -----> Compressing...
remote:
! Compiled slug size: 917.2M is too large (max is 500M).
remote: ! See: http://devcenter.heroku.com/articles/slug-size
remote:
remote: ! Push failed
remote: !
remote: ! ## Warning - The same version of this code has already been built: 5788bbafef87b6c05d42cc0d2d3175846ae109bf
remote: !
remote: ! We have detected that you have triggered a build from source code with version 5788bbafef87b6c05d42cc0d2d3175846ae109bf
remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
remote: !
remote: ! If you are developing on a branch and deploying via git you must run:
remote: !
remote: ! git push heroku <branchname>:main
remote: !
remote: ! This article goes into details on the behavior:
remote: ! https://devcenter.heroku.com/articles/duplicate-build-version
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to appname.
remote:
To https://git.heroku.com/appname.git
请帮忙!已经清除了构建包的缓存。这似乎不起作用。尝试将代码推送到不同的分支,但这也不起作用。不知道发生了什么。我是唯一一个从事这个项目的人,并且一直在推动主人。我的应用程序有很多照片文件不知道是不是这个问题?
解决方案
推荐阅读
- json - jq找不到元素的键时删除元素
- java - 当然后返回在junit中无法正常工作
- python - 如何输入一个字典列表对应的值并输出对应的字符串?
- laravel - : 为什么找不到 App\Event'?通过它的路线时
- javascript - 从平面设备欧拉角获取垂直设备前向/向上向量
- javascript - Puppeteer 通过类名获取多个 iFrame
- ansible - win_ping 返回值并存储在变量中
- javascript - 有没有办法使用 document.GetElementsByClassName() 在 HTML 中填充文本模板
- javascript - 如何将弹簧实体列表发送到javascript页面
- mysql - 如何避免事务中的 MySQL 死锁