Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View adammalone.aliases.drushrc.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?php
$adam = array(
'remote-host' => 'adammalone.net',
'root' => '/var/www/html/adammalone/docroot',
'uri' => 'adammalone.net',
'strict' => 0,
'path-aliases' => array(
'%dump-dir' => '/home/adammalone/.drush/dumps',
'%files' => 'sites/default/files',
),
'env' => 'prod',
'#prod' => '@adammalone.prod',
);
$aliases['adammalone.prod'] = $adam;
$aliases['adammalone.test'] = array(
'remote-host' => 'dev.adammalone.net',
'env' => 'test',
) + $adam;
$aliases['adammalone.dev'] = array(
'root' => '/Users/adam.malone/sites/adammalone.net',
'env' => 'dev',
) + $adam;
unset($aliases['adammalone.dev']['remote-host']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.