From b5bfab5084a6b1063bd261aa1efbefecdae68fc6 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 26 Nov 2024 20:52:53 +0000 Subject: [PATCH] Add devenv scripts --- devenv.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/devenv.nix b/devenv.nix index 84792ae..d08fd61 100644 --- a/devenv.nix +++ b/devenv.nix @@ -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 = '' if [[ ! -d vendor ]]; then composer install