@@ -39,14 +39,14 @@ |
||
| 39 | 39 | ); |
| 40 | 40 | |
| 41 | 41 | //build yarn stuff & upload |
| 42 | -task('frontend:build', function () { |
|
| 42 | +task('frontend:build', function() { |
|
| 43 | 43 | runLocally('yarn install'); |
| 44 | 44 | runLocally('yarn run encore production'); |
| 45 | 45 | runLocally('rsync -azP public/dist {{user}}@{{hostname}}:{{release_path}}/public'); |
| 46 | 46 | })->desc('Build frontend assets'); |
| 47 | 47 | |
| 48 | 48 | // kill php processes to ensure symlinks are refreshed |
| 49 | -task('deploy:refresh_symlink', function () { |
|
| 49 | +task('deploy:refresh_symlink', function() { |
|
| 50 | 50 | run('killall -9 php-cgi'); //kill all php processes so symlink is refreshed |
| 51 | 51 | })->desc('Refreshing symlink'); |
| 52 | 52 | //frontend stuff |