From 819fcf8825135b02305d151de940f3cc6a917601 Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Sat, 25 Apr 2020 14:13:52 -0700 Subject: [PATCH] Fixes #40345 automate publication of docs With the help of a little tar script on the server and rsync. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cfa4642..92aa502 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,9 @@ TESTDIR = ./test00 VERSION = 0.2.0 +WEBSERVER = sforman@shell.osdn.net -.PHONY: clean sdist test docs +.PHONY: clean sdist test docs upload-docs clean: @@ -30,3 +31,6 @@ test: sdist docs: cd ./docs && make && make mov && cd ./sphinx_docs && make html +upload-docs: docs + ssh $(WEBSERVER) /home/users/s/sf/sforman/backup-and-remove-htdocs + rsync -rv --progress ./docs/sphinx_docs/_build/html/ $(WEBSERVER):/home/groups/j/jo/joypy/htdocs/ -- 2.11.0