From 9ef7834052547b0edcbdc9172ef8db4dcb2e48cf Mon Sep 17 00:00:00 2001 From: Olimboy <49147614+olimboy@users.noreply.github.com> Date: Wed, 5 May 2021 15:55:24 +0500 Subject: [PATCH] Use REMOTE_REPOSITORY and BRANCH REMOTE_REPOSITORY is not used anywhere --- deployer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployer.php b/deployer.php index e7bb53d..0690d32 100644 --- a/deployer.php +++ b/deployer.php @@ -131,7 +131,7 @@ function forbid($file, $reason) { /** * Attempt to pull, returing the output and exit code */ - exec(GIT . " pull 2>&1", $output, $exit); + exec(GIT . " pull " . REMOTE_REPOSITORY . " " . BRANCH . " 2>&1", $output, $exit); // reformat the output as a string $output = (!empty($output) ? implode("\n", $output) : "[no output]") . "\n";