site
scripts to generate personal blog and git repositories
git clone https://9o.is/git/site.git
commit 91c1c89325999c44fe82ff4208691689f88efa90 parent b3323bd4628a0ae6e42578bfed2604d839e3f776 Author: Jul <jul@9o.is> Date: Sun, 18 Jan 2026 02:40:51 -0500 sync git repos to server Diffstat:
| M | Makefile | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -51,7 +51,13 @@ stagit: $(OUTDIR)/git/index.html cd $(OUTDIR)/git/$(REPO); \ $(STAGIT) $$path -sync-stagit: stagit +sync-git-repo: + @printf " %-8s %s\n" "SYNC" "$(REPO).git" + @source stagit/$(REPO).git; \ + cd $$path && git update-server-info; \ + $(RCLONE) $(RCLONE_ARGS) sync $$path sftp:htdocs/git/$(REPO).git + +sync-stagit: stagit sync-git-repo @printf " %-8s %s\n" "SYNC" "$(REPO)" @$(RCLONE) $(RCLONE_ARGS) sync \ --include '/index.html' --include '/$(REPO)/**' \