Website Summary Files Commits Branches @commit @diff @stats
path: root / deploy.php
diff options
context:
space:
mode:
Commit217a33d75aee8ce6d7408e51360eacfa43c42c82 (patch)
Author
 metodiew <stanko@metodiew.com>
2020-07-08 22:49:26 +0300
Committer
 metodiew <stanko@metodiew.com>
2020-07-08 22:49:26 +0300
Filesa0e9af88294db002183dafe6916da8f99d98f88f /deploy.php
tues-interns-2020-217a33d75aee8ce6d7408e51360eacfa43c42c82.tar
tues-interns-2020-217a33d75aee8ce6d7408e51360eacfa43c42c82.tar.gz
tues-interns-2020-217a33d75aee8ce6d7408e51360eacfa43c42c82.zip
Parent9dc6233a6c4a7767c8c7f2c0b9c8293a6ee6332b (diff)
Update the deploy script. Again
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>';