Currently it will use https://github.com/tschaub/grunt-gh-pages/pull/16/files, but you may be right about the exit code.