2023-11-24 12:58:45 -08:00
|
|
|
#!/bin/sh
|
|
|
|
# For CI: configures SSH and installs binaries that I use to build my site.
|
|
|
|
# The binaries are statically-linked for Linux on x86_64
|
2023-11-25 13:40:52 -08:00
|
|
|
|
|
|
|
# no pipefail here since there are no pipes.
|
2024-04-03 22:36:32 -04:00
|
|
|
set -eux
|
2023-11-24 12:58:45 -08:00
|
|
|
|
|
|
|
# mirrored at https://seirdy.one/pb/binaries.tar.gz
|
2024-06-20 16:08:33 -04:00
|
|
|
rsync -WPv \
|
|
|
|
-e "ssh -o KexAlgorithms=sntrup761x25519-sha512@openssh.com -o VerifyHostKeyDNS=yes" \
|
|
|
|
deploy@seirdy.one:/var/www/pb/binaries.tar.gz .
|
2023-11-24 21:04:41 -08:00
|
|
|
mkdir -p ~/bin
|
|
|
|
tar xzf binaries.tar.gz -oC ~/bin
|
2023-11-24 12:58:45 -08:00
|
|
|
rm binaries.tar.gz
|