secrets fix

This commit is contained in:
2025-05-22 17:37:09 +01:00
parent 0b3c62fd5f
commit 41c8521936

View File

@@ -36,9 +36,7 @@ class DeployService implements ShouldQueue
'order' => $index + 1, 'order' => $index + 1,
'status' => DeploymentStatus::PENDING, 'status' => DeploymentStatus::PENDING,
'script' => $plannedStep->getSafeScript(), 'script' => $plannedStep->getSafeScript(),
'secrets' => [ 'secrets' => $this->service->credentials,
'password' => $this->service->credentials['password'],
],
]); ]);
if ($index === 0) { if ($index === 0) {
$step->dispatchJob(); $step->dispatchJob();