Skip to content

Commit 3519b5e

Browse files
fix task composition
1 parent de97f9e commit 3519b5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

recipe.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,24 @@
2323
}
2424

2525
run('cd {{current_path}} && {{bin/php}} {{bin/nanbando}} plugins:install');
26-
})->desc('Reconfigure nanbando');
26+
})->desc('nanbando plugins:install');
2727

2828
task('nanbando:backup', function () {
2929
if (!get('nanbando_enabled')) {
3030
return;
3131
}
3232

3333
run('cd {{current_path}} && {{bin/php}} {{bin/nanbando}} backup {{nanbando_backup_options}}');
34-
})->desc('Create backup');
34+
})->desc('nanbando backup');
3535

3636
task('nanbando:push', function () {
3737
if (!get('nanbando_push') || !get('nanbando_enabled')) {
3838
return;
3939
}
4040

4141
run('cd {{current_path}} && {{bin/php}} {{bin/nanbando}} push');
42-
})->desc('Push backup to remote storage');
42+
})->desc('nanbando push');
4343

44-
before('nanbando:backup', 'nanbando:reconfigure');
44+
before('nanbando:backup', 'nanbando:plugins:install');
4545
after('nanbando:backup', 'nanbando:push');
4646
before('deploy:prepare', 'nanbando:backup');

0 commit comments

Comments
 (0)