2023-11-24 20:58:45 +00: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 21:40:52 +00:00
|
|
|
|
|
|
|
# no pipefail here since there are no pipes.
|
2024-04-04 02:36:32 +00:00
|
|
|
set -eux
|
2023-11-24 20:58:45 +00:00
|
|
|
|
|
|
|
# configure ssh
|
|
|
|
echo "VerifyHostKeyDNS=yes
|
|
|
|
KexAlgorithms=sntrup761x25519-sha512@openssh.com" >> ~/.ssh/config
|
|
|
|
|
|
|
|
# mirrored at https://seirdy.one/pb/binaries.tar.gz
|
|
|
|
rsync -WPv deploy@seirdy.one:/var/www/pb/binaries.tar.gz .
|
2023-11-25 05:04:41 +00:00
|
|
|
mkdir -p ~/bin
|
|
|
|
tar xzf binaries.tar.gz -oC ~/bin
|
2023-11-24 20:58:45 +00:00
|
|
|
rm binaries.tar.gz
|