mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-19 23:04:40 +01:00
Shopware: Added deploy:update_code
(#3816)
Added an exemplary `deploy:update_code` task.
This commit is contained in:
parent
682d48a8a9
commit
d34b80f3f2
@ -148,6 +148,16 @@ task('deploy', [
|
||||
'deploy:publish',
|
||||
]);
|
||||
|
||||
task('deploy:update_code')->setCallback(static function () {
|
||||
upload('.', '{{release_path}}', [
|
||||
'options' => [
|
||||
'--exclude=.git',
|
||||
'--exclude=deploy.php',
|
||||
'--exclude=node_modules',
|
||||
],
|
||||
]);
|
||||
});
|
||||
|
||||
task('sw-build-without-db:get-remote-config', static function () {
|
||||
if (!test('[ -d {{current_path}} ]')) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user