oliverdavies.uk-drupal-old/.ddev/commands/host/pull-from-prod
Oliver Davies 40179ca89e Add pull-from-prod command
Add a `pull-from-prod` host command for DDEV, to do what was previously
being done in the Makefile.
2020-10-08 19:49:41 +01:00

11 lines
162 B
Bash
Executable file

#!/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