Skip to content
Snippets Groups Projects
Commit 9037a026 authored by Nick Sellen's avatar Nick Sellen
Browse files

Minor tweaks to ensure clean git status

parent f24d57dc
No related branches found
No related tags found
1 merge request!3Minor tweaks to ensure clean git status
...@@ -13,6 +13,9 @@ fi ...@@ -13,6 +13,9 @@ fi
cd ~/sites cd ~/sites
# Remove any untracked files/directories
git clean -fd
GIT_PULL=$(git pull | grep -v "up-to-date") GIT_PULL=$(git pull | grep -v "up-to-date")
if [[ ${GIT_PULL} != "" ]]; then if [[ ${GIT_PULL} != "" ]]; then
......
...@@ -15,7 +15,7 @@ cd /home/{{ item }}/sites ...@@ -15,7 +15,7 @@ cd /home/{{ item }}/sites
git stash save "Local changes stashed" git stash save "Local changes stashed"
git pull git pull
rm -rf web/wp rm -rf web/wp
composer update composer install
cd web/app/themes/coop-tech-oowp-theme cd web/app/themes/coop-tech-oowp-theme
composer update composer update
npm install npm install
......
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