我正在尝试推送一个 PHP 应用程序。昨天工作得很好。今天它抛出错误。Submodule path 'sdk' 的错误可能与它有关,但正如我所说,除了一些小的代码调整之外,自昨天以来没有大的变化!
Benjamins-MacBook-Pro:everyvotematters benjamin$ git status
# On branch master
# Your branch is ahead of 'everyvotematters/master' by 4 commits.
#
nothing to commit (working directory clean)
Benjamins-MacBook-Pro:everyvotematters benjamin$ git push everyvotematters master
Counting objects: 24, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (19/19), done.
Writing objects: 100% (20/20), 4.49 KiB, done.
Total 20 (delta 7), reused 0 (delta 0)
-----> Heroku receiving push
-----> Git submodules detected, installing
Submodule 'sdk' (https://github.com/facebook/facebook-php-sdk.git) registered for path 'sdk'
Initialized empty Git repository in /tmp/build_awiw4oll8o2g/sdk/.git/
Submodule path 'sdk': checked out '98f2be163c96a51166354e467b95dd38aa4b0a19'
! Heroku push rejected, no Cedar-supported app detected
To git@heroku.com:everyvotematters.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:everyvotematters.git'
Benjamins-MacBook-Pro:everyvotematters benjamin$