fixed some issues with deploy.rb
Merge branch 'release/v1.2.3e'

* release/v1.2.3e:
  fixed some issues with deploy.rb