diff --git a/deployNewVersion.php b/deployNewVersion.php index 679ae89..f705479 100644 --- a/deployNewVersion.php +++ b/deployNewVersion.php @@ -1,6 +1,7 @@ &1'); + $branch = $_POST['branch']; + $output = shell_exec(dirname(__DIR__) . '/deploy.sh --release "'.$branch.'" 2>&1'); $error = $output; $message = "New version deployed."; } @@ -36,6 +37,12 @@
Deploy new version +
+ +
+ +
+
Get back to the panel diff --git a/updatePanel.php b/updatePanel.php index 69cee58..ec51e16 100644 --- a/updatePanel.php +++ b/updatePanel.php @@ -1,6 +1,7 @@ &1'); + $branch = $_POST['branch']; + $output = shell_exec(dirname(__DIR__) . '/deploy.sh --panel "'.$branch.'" 2>&1'); $error = $output; $message = "New version of admin panel deployed."; } @@ -36,6 +37,12 @@
Update Admin panel +
+ +
+ +
+
Get back to the panel