sebastiano.tronto.net

Source files and build scripts for my personal website
git clone https://git.tronto.net/sebastiano.tronto.net
Download | Log | Files | Refs | README

commit 40ca4e4842d3832715eb8e07189ebdba81047083
parent 46310ea045e5d979c8cbbf343c9bf94ed95da8d8
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Sun, 22 May 2022 22:44:39 +0200

Added deploy to gemini

Diffstat:
MMakefile | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,5 @@ DEST="tronto.net:/var/www/htdocs/sebastiano.tronto.net" +DESTGEMINI="tronto.net:/var/gemini" all: clean ./build.sh @@ -7,8 +8,14 @@ clean: mkdir -p http rm -r http -deploy: all +deploy: syncgemini synchttp + +syncgemini: + rsync -rv --delete --rsync-path=openrsync gemini/ ${DESTGEMINI} || \ + openrsync -rv --delete --rsync-path=openrsync gemini/ ${DESTGEMINI} + +synchttp: rsync -rv --delete --rsync-path=openrsync http/ ${DEST} || \ openrsync -rv --delete --rsync-path=openrsync http/ ${DEST} -.PHONY: all clean deploy +.PHONY: all clean deploy syncgemini synchttp