From 502463da8c9b5adb74fd7baf10e28136ca565922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20Flore-Th=C3=A9bault?= Date: Mon, 2 Dec 2024 10:47:17 +0100 Subject: [PATCH] chore: on CI, make the Edit this file work and enable htmltest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabrice Flore-Thébault --- .github/workflows/publish-docs.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 5d02a9f..0a6021f 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -17,8 +17,8 @@ jobs: uses: actions/checkout@v4 - name: Build docs run: CONTAINER_RUNTIME=docker CI=true make build_docs - #- name: Check links in docs - # run: CONTAINER_RUNTIME=docker make docs_check_links + - name: Check links in docs + run: CONTAINER_RUNTIME=docker make docs_check_links - name: Deploy uses: peaceiris/actions-gh-pages@v4 if: github.ref == 'refs/heads/main' diff --git a/Makefile b/Makefile index fd97283..081ac60 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ endif .PHONY: build_docs build_docs: - ${CONTAINER_RUNTIME} run -v $(CURDIR):/antora$(SELINUX_VOLUME_LABEL) --rm $(DOCS_BUILD_CONTAINER) --stacktrace antora-playbook.yml + ${CONTAINER_RUNTIME} run --env-host -v $(CURDIR):/antora$(SELINUX_VOLUME_LABEL) --rm $(DOCS_BUILD_CONTAINER) --stacktrace antora-playbook.yml .PHONY: docs_serve docs_serve: build_docs