Add some infrastructure for deployments.
This commit is contained in:
parent
90bb365a76
commit
be04519858
2 changed files with 15 additions and 0 deletions
7
deploy
Executable file
7
deploy
Executable file
|
@ -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
|
8
shell.nix
Normal file
8
shell.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
with import <nixpkgs> {};
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "lftp";
|
||||||
|
buildInputs = [ lftp ];
|
||||||
|
shellHook = ''
|
||||||
|
echo NOTE: Deploying to ibisc.univ-evry.fr is only possible from inside the lab network.
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue