Use keep_files option to keep .gitkeep in the public directory.