1
Envoy.blade.php, at the application root. @servers, on one line, names each host by a key the tasks refer to.
2
Story. @story('deploy') lists tasks by name, so one command runs update-code then install-dependencies.
3
Task. Shell lines between @task and @endtask, with Blade @if and {{ $branch }} from the command line.
4
Servers, the on list says which hosts a task runs on, over SSH, serially; 'parallel' => true runs them together.
5
Hooks. @before, @after, @error, @success and @finished run as PHP locally, never on the server.
6
Notification. @slack, @discord, @telegram or @microsoftTeams inside @finished, carrying the task's name.