use capistrano/multiconfig
split the deploy config to a local config and a remote config.