#+title: Website Deploy Script Deploy my website from a specified branch. #+begin_src nix { config, pkgs, ... }: { home.file."./.local/bin/deploy-website" = { executable = true; text = '' #+end_src =ssh= into my server and run the deploy script, passing command line arguments to the script. #+begin_src sh #!/bin/sh /usr/bin/ssh jjanzen.ca "sudo /usr/local/bin/deploy.sh "$@"" #+end_src Close the block. #+begin_src nix ''; }; } #+end_src