Website Summary Files Commits Branches @commit @diff @stats
path: root / deploy.php
diff options
context:
space:
mode:
1 files changed, 3 insertions, 3 deletions
-rw-r--r--deploy.php6
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 '<div>';
echo 'You are ready to check the <a href="' . home_url( '/' ) . '">Homepage</a>';
-echo '</div>'; \ No newline at end of file
+echo '</div>';