fix: deployment key based works

This commit is contained in:
Andras Bacsai
2023-07-05 22:10:10 +02:00
parent 1342634907
commit 4f98cef7cb
4 changed files with 9 additions and 5 deletions

View File

@@ -566,7 +566,7 @@ COPY --from=$this->build_image_name /app/{$this->application->publish_directory}
if ($this->pull_request_id !== 0) {
$pr_branch_name = "pr-{$this->pull_request_id}-coolify";
}
if ($this->application->deploymentType() === 'source') {
$source_html_url = data_get($this->application, 'source.html_url');
$url = parse_url(filter_var($source_html_url, FILTER_SANITIZE_URL));
@@ -619,4 +619,4 @@ COPY --from=$this->build_image_name /app/{$this->application->publish_directory}
);
$this->commit = $this->saved_outputs->get('git_commit_sha');
}
}
}