Oliver Davies
40179ca89e
Add a `pull-from-prod` host command for DDEV, to do what was previously being done in the Makefile.
11 lines
162 B
Bash
Executable file
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
|