mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 12:52:10 +00:00
eb6d1494ba
- setup-ci.sh: stop writing an ssh config since I pass around options on the CLI. - Makefile: tidy some things, remove unused stuff, add some docs. - Makefile: clean up unnecessary dupe files from rsync output a bit
14 lines
469 B
Bash
14 lines
469 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
|
|
|
|
# no pipefail here since there are no pipes.
|
|
set -eux
|
|
|
|
# mirrored at https://seirdy.one/pb/binaries.tar.gz
|
|
rsync -WPv \
|
|
-e "ssh -o KexAlgorithms=sntrup761x25519-sha512@openssh.com -o VerifyHostKeyDNS=yes" \
|
|
deploy@seirdy.one:/var/www/pb/binaries.tar.gz .
|
|
mkdir -p ~/bin
|
|
tar xzf binaries.tar.gz -oC ~/bin
|
|
rm binaries.tar.gz
|