talha_ah
talha_ah

Reputation: 376

Files folder not showing in heroku

My folders

enter image description here

and my gitignore file enter image description here

but my assets folder "data" is not uploading to heroku. this is my ls in heroku console.

enter image description here

Why it is not uploading my asset folder. Also i don't want to upload my assets so I used neglected every pdf or image files.

Upvotes: 0

Views: 398

Answers (1)

Yaakov Bressler
Yaakov Bressler

Reputation: 12018

It's possible that your folder contains only files which are ignored by your .gitignore. Empty folders are not automatically uploaded to github or heroku unless they contain "something." Try adding a simple .txt file, commit that change, and see if it works.

Upvotes: 1

Related Questions