diff --git a/deploy b/deploy new file mode 100755 index 0000000..c509809 --- /dev/null +++ b/deploy @@ -0,0 +1,7 @@ +#!/bin/sh +# +# Deploys my site to ibisc.univ-evry.fr/~sivanov/ +# +# This command must be run from within the lab network. + +lftp -e "mirror --delete-first -R www public_html; bye" sftp://sivanov:DUMMY@172.31.8.95 diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..b088aa0 --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +with import {}; +stdenv.mkDerivation { + name = "lftp"; + buildInputs = [ lftp ]; + shellHook = '' + echo NOTE: Deploying to ibisc.univ-evry.fr is only possible from inside the lab network. + ''; +}