Add devenv scripts

This commit is contained in:
Oliver Davies 2024-11-26 20:52:53 +00:00
parent 0b4b320abf
commit b5bfab5084

View file

@ -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