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

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