при выполнении команды git push heroku master возникает вот-такая ошибка, и приложение не пушиться на сервер heroku
Enumerating objects: 11756, done.
Counting objects: 100% (11756/11756), done.
Delta compression using up to 4 threads
Compressing objects: 100% (8477/8477), done.
Writing objects: 100% (11756/11756), 18.41 MiB | 452.00 KiB/s, done.
Total 11756 (delta 3134), reused 8434 (delta 2097)
remote: Compressing source files... done.
remote: Building source:
remote: === Fetching app code failed
remote:
remote: =!= Invalid symlink "venv/bin/python3.8". Cannot point outside the working directory
remote: !
remote: ! ## Warning - The same version of this code has already been built: 64c7322f6d4999cb02d2466974b5f8548376cf2c
remote: !
remote: ! We have detected that you have triggered a build from source code with version 64c7322f6d4999cb02d2466974b5f8548376cf2c
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 damn-another-dj-blog.
remote:
To https://git.heroku.com/damn-another-dj-blog.git
! [remote rejected] master -> main (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/damn-another-dj-blog.git'
C чем это может быть связано?
Перед пушем, естественно, задала heroku git:remote -a damn-another-dj-blog
что вернуло мне вот такой результат: set git remote heroku to https://git.heroku.com/damn-another-dj-blog.git
попробуй сделать пуш через force
ну а бренчи совпадают?
Обсуждают сегодня