Auto-build website to m-labs-intl.com #92
Loading…
Reference in New Issue
No description provided.
Delete Branch "esavkin/nix-scripts:134-m-labs-intl"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -8,0 +17,4 @@
echo "5.78.86.156 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEMbV69aqkHdQ1T5lMuALyHjNowU1rottZtEV4OhKQ6Y" > $HOME/.ssh/known_hosts
chmod 600 $HOME/.ssh/id_ed25519
${pkgs.rsync}/bin/rsync -r -c $HOME/intl/ zolaupd@5.78.86.156:/var/www/m-labs-intl.com/html/
That is not going to work from the Nix sandbox. It needs to be RunCommand.
Is it not a part of
runCommand
already, or does it have to be separated somehow?The other RunCommand (with capital R)
https://github.com/NixOS/hydra/blob/master/doc/manual/src/plugins/RunCommand.md?plain=1
b640438dc0
to80ed78b5bd
@ -8,0 +9,4 @@
''
cd ${web-src};
DOMAINNAME=m-labs-intl.com ${pkgs.zola}/bin/zola build -o $out;
'';
;
is not necessary in a multi line shell script.Please stop blindly copying code without understanding it.
80ed78b5bd
to3ec9d18b58
Auto-deploy website to m-labs-intl.comto Auto-build website to m-labs-intl.com