build: explicitly specify remote host key
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
6e01667e40
commit
49b25cf8d2
|
@ -14,6 +14,7 @@ tasks:
|
|||
cd c8h4.io
|
||||
nix build
|
||||
- deploy: |
|
||||
echo 'fort.c8h4.io ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFFOE4T7/1+13rqroj6xB6UI8l11OqvWbcE5NFvhY7v+' >~/.ssh/known_hosts
|
||||
tar -C c8h4.io/result -cvzf site.tar.gz .
|
||||
set +x # do not completely clobber the output with gargabe
|
||||
cat <(echo c8h4.io) <(cat site.tar.gz) | ssh -T -o StrictHostKeyChecking=no deploy@fort.c8h4.io
|
||||
cat <(echo c8h4.io) <(cat site.tar.gz) | ssh -T deploy@fort.c8h4.io
|
||||
|
|
Loading…
Reference in a new issue