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..84f9e0f 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 -e CI -v $(CURDIR):/antora$(SELINUX_VOLUME_LABEL) --rm $(DOCS_BUILD_CONTAINER) --stacktrace antora-playbook.yml .PHONY: docs_serve docs_serve: build_docs