Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
reload.aliases.drushrc.php example
<?php
/*
* Reload site.
*/
$aliases['common'] = array(
'remote-host' => 'reload.dk',
'remote-user' => 'reload',
'path-aliases' => array(
'%drush' => '/home/reload/drush/drush',
'%drush-script' => '/home/reload/drush/drush',
'%dump-dir' => '/var/tmp',
),
);
$aliases['prod'] = array(
'parent' => '@common',
'uri' => 'default',
'root' => '/var/www/reload.dk',
'deployotron' => array(
'branch' => 'master',
'newrelic-api-key' => '<somehexstring>',
'newrelic-app-name' => 'reload.dk',
),
);
$aliases['stg'] = array(
'parent' => '@common',
'uri' => 'default',
'root' => '/var/www/stg.reload.dk',
'deployotron' => array(
'branch' => 'develop',
'no-dump' => TRUE,
'newrelic-api-key' => '<somehexstring>',
'newrelic-app-name' => 'stg.reload.dk',
),
);
$aliases['dev'] = array(
'parent' => '@common',
'uri' => 'default',
'root' => '/var/www/dev.reload.dk',
'deployotron' => array(
'branch' => 'develop',
'no-dump' => TRUE,
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment