From 8ab753f6910ae33cd6fbe7fb00103a3ee2edc253 Mon Sep 17 00:00:00 2001 From: "kujiu (@rincevent)" Date: Sat, 1 Mar 2025 16:04:40 +0100 Subject: [PATCH] Add: publish target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 820defe..dfe800a 100644 --- a/Makefile +++ b/Makefile @@ -73,3 +73,7 @@ epub: $(SPHINXBUILD) --color -d "$(BUILDDIR)/doctrees" -b epub -D language="$$lang" -D blog_baseurl="epub://$(BASEURL)/$$lang/" -D epub_baseurl="epub://$(BASEURL)/$$lang/" $(SPHINXOPTS) "$(SOURCEDIR)" "$(BUILDDIR)/epub/$$lang"; \ rsync -av --delete "$(BUILDDIR)/epub/$$lang/" "$(DISTDIR)/epub/$$lang"; \ done + +publish: + rsync -av dist/html/ ciredutemps:/srv/www/nerv_www --delete + rsync -av dist/gemini/ ciredutemps:/srv/gemini/nerv --delete