Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
fix: conditions for publishing arch doc
Lars Wirzenius committed 2 years ago
commit 9580c3e6b828785493893f8042faafb05d0cfb8e
parent 8809b09c9a318a32b609068100cd80e0cc152ab5
1 file changed +2 -2
modified doc/Makefile
@@ -17,8 +17,8 @@
all: architecture.html

publish: all
-
	if [ "$(git branch --show-current)" = main ]; then \
-
	    if [ "${RADICLE_CI_BROKER_WEBROOT:-unset}" != unset ]; then \
+
	if [ "$$(git branch --show-current)" = main ]; then \
+
	    if [ "$${RADICLE_CI_BROKER_WEBROOT:-unset}" != unset ]; then \
		    install -d -m 0755 "$(RADICLE_CI_BROKER_WEBROOT)"; \
		    install -m 0644 *.html "$(RADICLE_CI_BROKER_WEBROOT)"; \
	    fi; \