mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-09-19 20:02:10 +00:00
15 lines
462 B
Bash
15 lines
462 B
Bash
|
#!/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
|
||
|
set -e -u
|
||
|
|
||
|
# 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 .
|
||
|
mkdir -p /usr/local/bin
|
||
|
tar xzf binaries.tar.gz -oC /usr/local/bin
|
||
|
rm binaries.tar.gz
|