From 878b73c89f377788862ffe3f20436f2d3ed80fa7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 26 Sep 2021 18:06:42 +0300 Subject: workflows: publish docs to GitHub Pages --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 163436d..ece80b3 100644 --- a/Makefile +++ b/Makefile @@ -88,9 +88,11 @@ xdg-open := $(shell command -v xdg-open 2> /dev/null) .PHONY: docs docs: cmake --build '$(call escape,$(cmake_dir))' --target docs +ifndef CI ifdef xdg-open xdg-open '$(call escape,$(cmake_dir))/html/index.html' endif +endif clang-tidy := run-clang-tidy ifeq (1,$(shell test -e /usr/share/clang/run-clang-tidy.py && echo 1)) -- cgit v1.2.3