use hexo optimize to generate publish files

in this theme i add the hexo-optimize plugin to get optimized files for publishing, so use the `hexo optimize`  command instead of general `hexo generate`