Я пытаюсь залить python бота на сервер Heroku, всё сделал по
инструкции, а когда запустил git push heroku master, то вышла ошибка:
git push heroku master
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Using buildpack: heroku/python
remote: -----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: ! Push failed
remote: !
remote: ! ## Warning - The same version of this code has already been built: 1f3b4fbb06d3120dc679a281efbf2ce0b55fbab5
remote: !
remote: ! We have detected that you have triggered a build from source code with version 1f3b4fbb06d3120dc679a281efbf2ce0b55fbab5
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 my-first-python-telegram-bot.
remote:
To https://git.heroku.com/my-first-python-telegram-bot.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/my-first-python-telegram-bot.git'
Помогите пожалуйста, уже несколько часов пытаюсь решить эту проблему