Website Summary Files Commits Branches @commit @diff @stats
path: root / deploy.php
diff options
context:
space:
mode:
Commitf05c0051c3be878b72ca1e295de9eced10af5678 (patch)
Author
 root <root@dxdemos.online>
2020-07-15 13:42:18 +0000
Committer
 root <root@dxdemos.online>
2020-07-15 13:42:18 +0000
Filesc14196ea287e28117088685344b26404e57a94a8 /deploy.php
tues-interns-2020-feature/homepage.tar
tues-interns-2020-feature/homepage.tar.gz
tues-interns-2020-feature/homepage.zip
Parent5da98b468d82029bd16a8d534c4f18e02384d419 (diff)
Change the files and folder permissions and hope for the best feature/homepage
1 files changed, 2 insertions, 0 deletions
-rw-r--r--deploy.php2
diff --git a/deploy.php b/deploy.php
index 49694c9..07dba62 100644
--- a/deploy.php
+++ b/deploy.php
@@ -8,6 +8,8 @@ echo shell_exec( 'git checkout master; ');
echo shell_exec( 'git pull origin master; ');
echo shell_exec( 'wp cache flush ');
+echo exec( 'git pull origin master' );
+
// Load WordPress
require_once( 'wp-load.php' );