Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
docs: be more verbose to ease debugging
Lars Wirzenius committed 2 years ago
commit b165bf3d968f2e57ae202bd7777d66c5d26b876f
parent 9580c3e6b828785493893f8042faafb05d0cfb8e
1 file changed +6 -0
modified doc/Makefile
@@ -18,10 +18,16 @@ all: architecture.html

publish: all
	if [ "$$(git branch --show-current)" = main ]; then \
+
            echo on main branch; \
	    if [ "$${RADICLE_CI_BROKER_WEBROOT:-unset}" != unset ]; then \
+
		    echo web root set, publishing arch doc there; \
		    install -d -m 0755 "$(RADICLE_CI_BROKER_WEBROOT)"; \
		    install -m 0644 *.html "$(RADICLE_CI_BROKER_WEBROOT)"; \
+
	    else \
+
		echo web root is not set, not publishing arch doc; \
	    fi; \
+
	else \
+
	    echo not on main branch; \
	fi

architecture.html: architecture.svg architecture-ext.svg comp.svg comp-ext.svg Makefile