commit 66eb131fdeeadfc0e5497fb6eddc48754fc787bf parent 75e5469f9fad0cb02fde8cddd60bfb3c9ff34be6 Auteur: Selve <selve@asteride.xyz> Date: Sun, 1 Oct 2023 18:24:44 -0400 [gen] ajout d'une commande pour la publication Diffstat:
M | construire.sh | | | 12 | +++++++++++- |
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/construire.sh b/construire.sh @@ -155,10 +155,20 @@ tout() { https } +publier() { + openrsync --rsync-path=/usr/bin/openrsync -va --del "$DOS_DST/gemini/"\ + 'asteride.xyz:/var/gemini/asteride.xyz/~selve/' + openrsync --rsync-path=/usr/bin/openrsync -va --del "$DOS_DST/https/"\ + 'asteride.xyz:/var/www/htdocs/asteride.xyz/https/~selve/' + openrsync --rsync-path=/usr/bin/openrsync -va --del "$DOS_DST/http/"\ + 'asteride.xyz:/var/www/htdocs/asteride.xyz/http/~selve/' +} + case "$1" in tout) tout ;; gemini) gemini ;; http) http ;; https) https ;; - nettoyer) nettoyer ;; + net) nettoyer ;; + pub) publier ;; esac