Skip to content

Commit 39e6b2f

Browse files
Merge pull request #67 from ByteInternet/ensure-hypernode-dir
2 parents c9d7444 + 36b0391 commit 39e6b2f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Deployer/Task/PlatformConfiguration/NginxSyncTask.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function configureWithTaskConfig(TaskConfigurationInterface $config): ?Ta
5959
'--delete',
6060
];
6161
$args = implode(' ', array_map('escapeshellarg', $args));
62+
run("mkdir -p {{nginx_release_path}}");
6263
run("rsync {$args} {{nginx/config_path}}/ {{nginx_release_path}}/");
6364
run("ln -sf {{nginx_current_path}} /data/web/nginx/{{domain}}");
6465
});

src/Deployer/Task/PlatformConfiguration/SupervisorUploadTask.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ function () use ($config) {
5555
];
5656
upload($sourceDir . '/', '{{supervisor/config_path}}/');
5757
$args = implode(' ', array_map('escapeshellarg', $args));
58+
run("mkdir -p {{supervisor_release_path}}");
5859
run("rsync {$args} {{supervisor/config_path}}/ {{supervisor_release_path}}/");
5960
}
6061
);

0 commit comments

Comments
 (0)