webrain / grunt-wordpress-deploy

A Grunt plugin to quickly deploy Wordpress websites.
MIT License
104 stars 37 forks source link

Add support for Vagrant VM #29

Open la521o opened 9 years ago

la521o commented 9 years ago

Could this be as simple as adding the ssh_host option for local environment?

Currently I'd have to manually ssh into vagrant, cd into theme directory where my gruntfile.js is located and run commands to push & pull database.

la521o commented 9 years ago

Actually I think this works right out of the box. Not sure why I thought it's not possible to add ssh_host for local.

winstromming commented 9 years ago

ssh_host takes arguments. For example, I'm using it with vagrant and am able to connect fine like this:

"ssh_host:" "-i .vagrant/machines/default/virtualbox/private_key -p 2222 vagrant@localhost",