Skip to content

Instantly share code, notes, and snippets.

@olizilla

olizilla/update.sh

Created May 23, 2017
Embed
What would you like to do?
#!/bin/bash
cd /home/cotech/sites
git stash
git pull
rm -rf web/wp
composer update
cd web/app/themes/coop-tech-oowp-theme
composer update
npm install
nodejs ./node_modules/gulp/bin/gulp.js
cd ../../..
wp core update-db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.