Skip to content

Commit 6c927e6

Browse files
Norgultaylorotwell
andauthored
[7.x] Update envoy.md (#6245)
* Update envoy.md Declaring servers on multiple lines throws a `Server [...] is not defined` error. * Update envoy.md Co-authored-by: Taylor Otwell <[email protected]>
1 parent feeaa30 commit 6c927e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

envoy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ All of your Envoy tasks should be defined in an `Envoy.blade.php` file in the ro
4747
ls -la
4848
@endtask
4949

50-
As you can see, an array of `@servers` is defined at the top of the file, allowing you to reference these servers in the `on` option of your task declarations. Within your `@task` declarations, you should place the Bash code that should run on your server when the task is executed.
50+
As you can see, an array of `@servers` is defined at the top of the file, allowing you to reference these servers in the `on` option of your task declarations. The `@servers` declaration should always be placed on a single line. Within your `@task` declarations, you should place the Bash code that should run on your server when the task is executed.
5151

5252
You can force a script to run locally by specifying the server's IP address as `127.0.0.1`:
5353

0 commit comments

Comments
 (0)