© 2026 Hedgehog Software, LLC
pwd
namespace Deployer; require 'recipe/laravel.php'; require 'contrib/php-fpm.php'; require 'contrib/npm.php'; set('repository', $repoUrl); host('prod') ->set('remote_user', $linuxUser) ->set('hostname', $hostname) ->set('deploy_path', '/var/www/' . $projectName) ; task('deploy', [ 'deploy:prepare', 'deploy:vendors', 'artisan:storage:link', 'artisan:view:cache', 'artisan:config:cache', 'artisan:migrate', 'npm:install', 'build', 'deploy:publish', ]); task('build', function () { run('pwd'); }); after('deploy:failed', 'deploy:unlock');
Join the Discord to ask follow-up questions and connect with the community
A powerful open-source UI framework for Laravel • Build and ship apps & admin panels fast with Livewire
20,181 Members