One-command deployment with Laravel Envoy
authorized_keys
file on the server.
authorized_keys
file on the server. You can do this by running the following command:
user
with your server username and server
with the server IP address or domain name.
Envoy.blade.php
file in the root directory of your Laravel application. The script contains tasks for deploying your application, running migrations, clearing caches, and more.
Here is an example of a deployment script using Laravel Envoy:
deploy
story defined in the Envoy.blade.php
file.
You can also run separate tasks from the deployment script using the following command: