|
照13章做法,最後 (herokuenv) (base) D:\envtest\herokuenv\invoicehero>git push heroku master Enumerating objects: 25, done. Counting objects: 100% (25/25), done. Delta compression using up to 4 threads Compressing objects: 100% (21/21), done. Writing objects: 100% (25/25), 11.94 KiB | 1.49 MiB/s, done. Total 25 (delta 1), reused 0 (delta 0), pack-reused 0 remote: Compressing source files... done. remote: Building source: remote: remote: -----> Building on the Heroku-20 stack remote: -----> Python app detected remote: ! Requested runtime (python-3.7.4) is not available for this stack (heroku-20). remote: ! Aborting. More info: https://devcenter.heroku.com/articles/python-support remote: ! Push rejected, failed to compile Python app. remote: remote: ! Push failed remote: ! remote: ! ## Warning - The same version of this code has already been built: 5563fc9145e0c6be6e26f679a72f74d1ad134ab8 remote: ! remote: ! We have detected that you have triggered a build from source code with version 5563fc9145e0c6be6e26f679a72f74d1ad134ab8 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 suinvoice. remote: To https://git.heroku.com/suinvoice.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/suinvoice.git' |