If you see a message like:
src refspec heroku does not match any its because you need to add heroku to your github repo:
$ heroku git:remote --app <your_app_name>
If you application failed to deploy you can retry by making any change to your files and doing a commit and push again.
# make sure to make any change to your files$ git add .$ git commit -m 'trying to redeploy app'$ git push heroku main
You probably forgot to change the FLASK_ENV enviromental variable to
production, run the following command on the console:
$ heroku config:set FLASK_ENV=production