fix: compose generator

This commit is contained in:
Andras Bacsai
2024-06-12 12:20:58 +02:00
parent 407b8de2b1
commit 019cdd2b3a
6 changed files with 109 additions and 60 deletions

View File

@@ -131,6 +131,10 @@ class Previews extends Component
}
}
public function add_and_deploy(int $pull_request_id, ?string $pull_request_html_url = null) {
$this->add($pull_request_id, $pull_request_html_url);
$this->deploy($pull_request_id, $pull_request_html_url);
}
public function deploy(int $pull_request_id, ?string $pull_request_html_url = null)
{
try {