14 lines
402 B
Markdown
14 lines
402 B
Markdown
# Deployment
|
|
|
|
Here is an example on how you can deploy with an envoy tasks. Of course make sure to add any other relevant operations for your server setup. Such as permissions.
|
|
|
|
```php
|
|
@task('deploy')
|
|
git pull origin master
|
|
composer install --optimize-autoloader --no-dev
|
|
rm {{ $projectPath }}/public/live
|
|
php artisan lucent:schemas
|
|
php artisan lucent:livelink
|
|
php artisan generate:static
|
|
@endtask
|
|
``` |