こんばんは、
Herokuでbotを自動実行させるためにデプロイをしていたのですが
エラーが発生して詰まってしまいました。
同じものがすでにビルドされていると出るのですが
これが初めてのデプロイです。
ファイル(requirements,runtime)の確認も行いまいした
どなたか分かる方はいらっしゃいますか?
環境
Windows10 Home 64bit
Heroku CLI
Git 2.30.0.2
ErrorMessage
1remote: ! ## Warning - The same version of this code has already been built: 3638b73a9708264f3c09a6d43f771e6f9fdc3b15 2remote: ! 3remote: ! We have detected that you have triggered a build from source code with version 3638b73a9708264f3c09a6d43f771e6f9fdc3b15 4remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
HerokuCLI
1Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 2remote: Compressing source files... done. 3remote: Building source: 4remote: 5remote: -----> Building on the Heroku-20 stack 6remote: -----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz 7remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure 8remote: 9remote: ! Push failed 10remote: ! 11remote: ! ## Warning - The same version of this code has already been built: 3638b73a9708264f3c09a6d43f771e6f9fdc3b15 12remote: ! 13remote: ! We have detected that you have triggered a build from source code with version 3638b73a9708264f3c09a6d43f771e6f9fdc3b15 14remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch. 15remote: ! 16remote: ! If you are developing on a branch and deploying via git you must run: 17remote: ! 18remote: ! git push heroku <branchname>:main 19remote: ! 20remote: ! This article goes into details on the behavior: 21remote: ! https://devcenter.heroku.com/articles/duplicate-build-version 22remote: 23remote: Verifying deploy... 24remote: 25remote: ! Push rejected to timeline-tweet-bot. 26remote: 27To https://git.heroku.com/timeline-tweet-bot.git 28 ! [remote rejected] master -> master (pre-receive hook declined) 29error: failed to push some refs to 'xxxxxxxxxxxxx.git'
BuildLog
1-----> Building on the Heroku-20 stack 2-----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz 3 More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure 4 ! Push failed
あなたの回答
tips
プレビュー