Add ddev pull command
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
|||||||
|
environment_variables:
|
||||||
|
dburl: [email protected]:files/backup/typo3-prod.dump.sql.gz
|
||||||
|
|
||||||
|
auth_command:
|
||||||
|
command: |
|
||||||
|
set -eu -o pipefail
|
||||||
|
ssh-add -l >/dev/null || ( echo "Please 'ddev auth ssh' before running this command." && exit 1 )
|
||||||
|
|
||||||
|
db_pull_command:
|
||||||
|
command: |
|
||||||
|
# set -x # You can enable bash debugging output by uncommenting
|
||||||
|
set -eu -o pipefail
|
||||||
|
rsync -az "${dburl}" /var/www/html/.ddev/.downloads/db.sql.gz
|
||||||
|
service: web
|
||||||
Reference in New Issue
Block a user