Skip to content
Snippets Groups Projects
Commit 6f10b323 authored by Chris Croome's avatar Chris Croome
Browse files

Added WP CLI PATH

parent e555f1ca
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,9 @@ if [[ "${LOGNAME}" != "{{ item }}" ]]; then ...@@ -11,6 +11,9 @@ if [[ "${LOGNAME}" != "{{ item }}" ]]; then
fi fi
fi fi
# Find where WP CLI is
WP=$(which wp)
cd /home/{{ item }}/sites cd /home/{{ item }}/sites
git stash save "Local changes stashed" git stash save "Local changes stashed"
git pull git pull
...@@ -21,5 +24,5 @@ composer update ...@@ -21,5 +24,5 @@ composer update
npm install npm install
nodejs ./node_modules/gulp/bin/gulp.js nodejs ./node_modules/gulp/bin/gulp.js
cd ../../.. cd ../../..
wp core update-db ${WP} core update-db
cd /home/{{ item }}/sites cd /home/{{ item }}/sites
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment