Merge pull request #5329 from kikitux/master

fix command on vagrant push website sample script
This commit is contained in:
Seth Vargo 2015-02-11 21:07:59 -05:00
commit 319175b7f1
1 changed files with 13 additions and 1 deletions

View File

@ -36,10 +36,22 @@ a single push definition.
The Vagrant Push Local Exec strategy is defined in the `Vagrantfile` using the
`local-exec` key:
Remote path:
```ruby
config.push.define "local-exec" do |push|
push.inline = <<-SCRIPT
scp . /var/www/website
scp -r . server:/var/www/website
SCRIPT
end
```
Local path:
```ruby
config.push.define "local-exec" do |push|
push.inline = <<-SCRIPT
cp -r . /var/www/website
SCRIPT
end
```