Add devenv scripts
This commit is contained in:
parent
0b4b320abf
commit
b5bfab5084
|
@ -75,6 +75,11 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
scripts = {
|
||||||
|
deploy.exec = "rsync -avz html/ ssh.oliverdavies.uk:/var/www/vhosts/www.oliverdavies.uk-drupal";
|
||||||
|
generate-static-files.exec = "drush tome:static --uri https://www.oliverdavies.uk";
|
||||||
|
};
|
||||||
|
|
||||||
enterShell = ''
|
enterShell = ''
|
||||||
if [[ ! -d vendor ]]; then
|
if [[ ! -d vendor ]]; then
|
||||||
composer install
|
composer install
|
||||||
|
|
Loading…
Reference in a new issue