0

I am having trouble getting the build file of my react website added to GIT. I am trying to push it to heroku... and in the past, git has included the build file.

I have checked to make sure there is no .git ignore file and made sure the exclude file doesn't include the build folder.

Any suggestions on where to look next?

Thanks!

Nick McLean
  • 601
  • 1
  • 9
  • 23
  • Does this answer your question? [Git command to show which specific files are ignored by .gitignore](https://stackoverflow.com/questions/466764/git-command-to-show-which-specific-files-are-ignored-by-gitignore) – LeGEC Jun 26 '20 at 22:08
  • Why do you want to track build artifacts? Let _Heroku_ build your application. Don't track generated files. – ChrisGPT was on strike Jun 27 '20 at 03:24
  • Oh - I didnt know that heroku would do the build process for me on a react app? – Nick McLean Jun 27 '20 at 12:45
  • It seems if I dont run the build before I deploy then nothing works. xxxx.herokuapp.com says 'Not Found' – Nick McLean Jun 27 '20 at 13:16

0 Answers0