Skip to content

Instantly share code, notes, and snippets.

@2ec0b4
Created April 20, 2016 20:25
Show Gist options
  • Save 2ec0b4/6cca0f48f1f6e1064dd1a6d8b985a369 to your computer and use it in GitHub Desktop.
Save 2ec0b4/6cca0f48f1f6e1064dd1a6d8b985a369 to your computer and use it in GitHub Desktop.
vagrant push staging
Vagrant.configure('2') do |config|
config.push.define "staging", strategy: "ftp" do |push|
push.host = "staging.dev"
push.passive = false
push.secure = true
push.username = "user"
push.password = "password"
push.destination = "/var/www/staging/"
push.dir = "./html/"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment