Add consumer restart to deploy procedure

This commit is contained in:
Kacper Donat 2020-04-14 20:06:23 +02:00
parent 1fe93e74c2
commit d90286f741

View File

@ -46,10 +46,12 @@ task('assets:upload', function () {
});
task('assets', ['assets:build', 'assets:upload']);
task('restart:consumer', 'systemctl --user restart keylighter-updater');
// [Optional] if deploy fails automatically unlock.
after('deploy:failed', 'deploy:unlock');
after('deploy:symlink', 'cachetool:clear:opcache');
after('deploy:symlink', 'restart:consumer');
// Migrate database before symlink new release.
//before('deploy:symlink', 'database:migrate');