Browse Source

Force IPv4 for rsync

main
Mark Cornick 2 months ago
parent
commit
83877e3fca
Signed by: mcornick GPG Key ID: 9435772627061005
  1. 4
      deploy.sh

4
deploy.sh

@ -15,7 +15,7 @@ deploy_www() {
hugo --config "config-$3.toml" --quiet --minify --baseURL "$1"
case "$4" in
rsync)
rsync --exclude "gemini" -a public/ "$2" >/dev/null 2>&1
rsync --ipv4 --exclude "gemini" -a public/ "$2" >/dev/null 2>&1
;;
rclone)
rm -rf public/gemini public/**/gemini
@ -37,7 +37,7 @@ deploy_gemini() {
cp static/pgpkey.txt public/gemini
case "$4" in
rsync)
rsync -a public/gemini/ "$2" >/dev/null 2>&1
rsync --ipv4 -a public/gemini/ "$2" >/dev/null 2>&1
;;
*)
true

Loading…
Cancel
Save