Heroku와 github 연동 중, 코드가 제대로 반영되지 않던 오류

JH.P·2022년 4월 7일
  • github의 origin main에 커밋한 내용을 push하면, Heroku가 이 내용을 감지하여 배포된 서버에 자동으로 반영해주는 기능이 있다.
  • 하지만 제대로 반영되지 않은 커밋이 있어서, 다시 수정 후 커밋 후, git push heroku main 을 입력하여 해결하였다.

Heroku로 부터 아래 메일이 왔다!

An automatic deployment for nomadcoffee-backend-jiho failed. The build failed with the message Your account has reached its concurrent builds limit..

Token from user jiho1024@naver.com was used to interact with GitHub. This account was matched as the GitHub committer.

You can also check that the user who connected the app or pipeline to GitHub still has access to the app and to the Github repository.

In this case, reconnecting to GitHub will often fix the issue.

If you believe that this build failure was not due to an issue in your app, please open a support ticket.

I had to try two of these answers back-to-back. Individually, they didn't work for me.

I needed to install heroku-builds with

heroku plugins:install heroku-builds

Then cancel the ongoing build with

heroku builds:cancel

And finally did a heroku restart.

  • 위 답변에 대한 댓글

This worked for me. Thanks. When you run heroku builds:cancel you may get the outout: Can only cancel pending builds. Build c20a59ad-d093-4c04-bc70-85ec62f1da00 has status 'failed', don't panic, just run the heroku restart command next, and the build will start. –
Promise Preston
Feb 12, 2021 at 15:57

profile
꾸준한 기록

0개의 댓글