From 217a33d75aee8ce6d7408e51360eacfa43c42c82 Mon Sep 17 00:00:00 2001 From: metodiew Date: Wed, 8 Jul 2020 22:49:26 +0300 Subject: Update the deploy script. Again --- deploy.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deploy.php') diff --git a/deploy.php b/deploy.php index e4c2853..49694c9 100644 --- a/deploy.php +++ b/deploy.php @@ -3,8 +3,8 @@ /** * Get the latest version of the master branch */ -// echo shell_exec( 'git fetch origin master; '); -// echo shell_exec( 'git checkout master; '); +echo shell_exec( 'git fetch origin master; '); +echo shell_exec( 'git checkout master; '); echo shell_exec( 'git pull origin master; '); echo shell_exec( 'wp cache flush '); @@ -14,4 +14,4 @@ require_once( 'wp-load.php' ); // Display a link to the homepage echo '
'; echo 'You are ready to check the Homepage'; -echo '
'; \ No newline at end of file +echo ''; -- cgit v1.3.1-26-gb76a