Add pull-from-prod command

Add a `pull-from-prod` host command for DDEV, to do what was previously
being done in the Makefile.
This commit is contained in:
Oliver Davies 2020-10-08 19:38:38 +01:00
parent b83317634f
commit 40179ca89e

View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
main() {
cd tools/ansible
ansible-playbook download-database.yml
ddev import-db --src ../../dump.sql.gz
rm ../../dump.sql.gz
}
main