directory_indexes on, build creates tags, deploy doesn't push them to github?

In my middleman site, I have activated :directory_indexes and I’m using middleman-blog’s default tag.html.erb to generate /tags/ pages. When I run middleman server the tag pages are successfully generated and links to them work. When I use middleman-deploy to deploy the page to github I see that the tags directory and subsequent subdirectories are not being pushed to the master branch.

Could it this happen because /tags/ by default does not generate an index.html but /tags/business/ does?

How should I debug this?

Solved my own problem. I cd’d into the build directory and attempted to git add tags I got back an error message that apparently I have a setting in a .gitignore file that was keeping the tags directory from being pushed.

I checked my middleman directory and didn’t have tags in .gitignore or ~/.gitignore so I’ll have to keep looking but for now git add -f tags worked.