diff --git a/devenv.nix b/devenv.nix index d36338f1..2b273628 100644 --- a/devenv.nix +++ b/devenv.nix @@ -35,4 +35,13 @@ tasks = { }; enterTest = ''''; + + scripts = { + publish.exec = '' + sculpin generate --env prod + rsync -avz static/ output_prod + rsync -avz output_prod/ ssh.oliverdavies.uk:/var/www/vhosts/www.oliverdavies.uk + ''; + }; + }