Add file sync to pull command

This commit is contained in:
Chris Thompson 2023-01-26 17:54:11 -05:00
parent 1a79f58d02
commit ef95d84e4d

View file

@ -12,5 +12,7 @@ echo "Dropping local db..."
drush -y sql-drop drush -y sql-drop
echo "Pulling db from live into local..." echo "Pulling db from live into local..."
drush -y sql-sync @live @self drush -y sql-sync @live @self
echo "Pulling files from live into local..."
drush -y rsync @live:%files @self:%files
drush cr drush cr
echo "Done" echo "Done"