fix deploy.rb to adapt to private repository