fix: use commit hash on webhooks

This commit is contained in:
Andras Bacsai committed 2024-05-15 10:44:45 +02:00
1 parent 0ffba45517
commit 1e09b2bbd8
4 files changed
+10 -1

No files matched your search

+2
View File
@@ -1113,6 +1113,8 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
}
if ($this->saved_outputs->get('git_commit_sha') && !$this->rollback) {
$this->commit = $this->saved_outputs->get('git_commit_sha')->before("\t");
$this->application_deployment_queue->commit = $this->commit;
$this->application_deployment_queue->save();
}
}
private function clone_repository()