Commit a63c3fdf authored by Jürgen Haas's avatar Jürgen Haas

Fix the call for drush, it should use the drush script available in L3D container

parent d7544f3e
ahoyapi: v2
commands:
exec:
cmd: ahoy d4d exec drush "$@"
usage: Run Drush in PHP container
pull:
cmd: |
ahoy drush exec sql:sync --create-db @default.live @default.dev
ahoy drush exec @default.dev cr
ahoy drush exec @default.dev dev on
ahoy drush exec @default.dev cim --partial --source=/var/www/html/config/default/environments/develop
ahoy drush exec rsync @default.live:%files/ @default.dev:%files -- --chown=www-data:www-data --safe-links --max-size=20M
drush sql:sync --create-db @default.live @default.dev
drush @default.dev cr
drush @default.dev dev on
drush @default.dev cim --partial --source=/var/www/html/config/default/environments/develop
drush rsync @default.live:%files/ @default.dev:%files -- --chown=www-data:www-data --safe-links --max-size=20M
usage: Pull files and DB from live site
pull-sql:
cmd: |
ahoy drush exec sql:sync --create-db @default.live @default.dev
ahoy drush exec @default.dev cr
ahoy drush exec @default.dev dev on
ahoy drush exec @default.dev cim --partial --source=/var/www/html/config/default/environments/develop
drush sql:sync --create-db @default.live @default.dev
drush @default.dev cr
drush @default.dev dev on
drush @default.dev cim --partial --source=/var/www/html/config/default/environments/develop
usage: Pull DB from live site
pull-files:
cmd: |
ahoy drush exec rsync @default.live:%files/ @default.dev:%files -- --chown=www-data:www-data --safe-links --max-size=20M
drush rsync @default.live:%files/ @default.dev:%files -- --chown=www-data:www-data --safe-links --max-size=20M
usage: Pull files from live site
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment