Consider the following task for envoy:
@task('deploy', ['on' => 'web'])
cd personal_site
php artisan down
git pull origin master
composer install
php artisan migrate
php artisan up
@endtask
php artisan migrate // Blows up
The error is:
[user@xxxx]: **************************************
* Application In Production! *
**************************************
[user@xxxx]: Command Cancelled!
[user@xxxx]: Application is now live.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire