diff --git a/src/Commands/Env/CodeRebuildCommand.php b/src/Commands/Env/CodeRebuildCommand.php index 89509a915..a734b3d0b 100644 --- a/src/Commands/Env/CodeRebuildCommand.php +++ b/src/Commands/Env/CodeRebuildCommand.php @@ -71,7 +71,7 @@ public function rebuild( /** * Rebuild from latest vcs event. */ - protected function rebuildFromVcs(string $site_id, string $env) + public function rebuildFromVcs(string $site_id, string $env) { $path = sprintf("%s/vcs/v1/site-details/%s/environments/%s/rebuild", $this->getBaseURI(), $site_id, $env); $response = $this->request()->request($path, [