Deploy commands (1)

https://github.com/lorisleiva/laravel-deployer/tree/old

To deploy in production (master branch)

php artisan deploy nsn.n10.xyz -s basic

To deploy in staging (staging branch)

git pull
git checkout staging
php artisan deploy staging.n10.xyz -s basic

⚠️
Your public SSH key should be available on the server
⚠️
Deployer use SSH Multiplexing but it doesn’t work on Windows, you have to set this environment variable in the .env : DEPLOYER_MULTIPLEXING=false