Move around example mention in docs
This commit is contained in:
parent
f69bdc4bb6
commit
5c26e651e6
|
@ -75,9 +75,9 @@ The trigger class takes various options.
|
||||||
+ `path`
|
+ `path`
|
||||||
|
|
||||||
**Note:** The `run` option with `inline` is not entirely like a shell provisioner that runs bash.
|
**Note:** The `run` option with `inline` is not entirely like a shell provisioner that runs bash.
|
||||||
It executes binaries on your machine rather than a bash script. If you wish you use
|
It executes binaries on your machine rather than a bash script. For example:
|
||||||
bash to pipe some text to a file in your `run` option with `inline`, wrap
|
If you wish you use bash to pipe some text to a file in your `run` option with `inline`, wrap
|
||||||
your inline script with _`bash -c "<script goes here>"`_. For example:
|
your inline script with _`bash -c "<script goes here>"`_.:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
config.trigger.after :up do |trigger|
|
config.trigger.after :up do |trigger|
|
||||||
|
|
Loading…
Reference in New Issue