Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Fix #3

Merged
merged 5 commits into from
Oct 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Build

on:
push:
branches:
- master
pull_request:
branches:
- master
repository_dispatch:
types: [content-update]

Expand Down
4 changes: 2 additions & 2 deletions antora.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ ENV DOCSEARCH_ENABLED=true
ENV DOCSEARCH_ENGINE=lunr
ENV NODE_PATH="/usr/local/lib/node_modules"
ENV DOCSEARCH_INDEX_VERSION=latest
RUN yarn global add http-server onchange
RUN yarn global add antora-site-generator-lunr
RUN yarn global add http-server@13.0.2 onchange@7.1.0
RUN yarn global add antora-site-generator-lunr@0.6.1
WORKDIR /srv/docs
2 changes: 1 addition & 1 deletion scripts/invalid_refs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ INVALID_REFS=$(
N_REFS=$(echo "${INVALID_REFS}" | wc -l | xargs)
N_FILES=$(echo "${INVALID_REFS}" | cut -d ':' -f1 | uniq | wc -l | xargs)

[[ N_REFS >= 1 ]] && exit 0
[[ ${N_REFS} -lt 1 ]] && exit 0

echo "::warning::${N_FILES} pages contain invalid references. Please check build log for details!"
echo "::group::Click to show files"
Expand Down