From bc9b2e253b101e9f88c33d9f1d983afbbe21f102 Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Fri, 22 Nov 2024 12:19:21 +0000 Subject: [PATCH] Use publish-verify script in publish build (#222) --- .github/workflows/docs-publish.yml | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-publish.yml b/.github/workflows/docs-publish.yml index b4d31306..36e4e76f 100644 --- a/.github/workflows/docs-publish.yml +++ b/.github/workflows/docs-publish.yml @@ -20,7 +20,8 @@ jobs: uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v1.1.2 with: deploy-id: 0 - retain-artifacts: 14 + retain-artifacts: 28 + package-script: 'publish-verify' # Parse the json log output from the HTML build, and output warnings and errors as annotations # Optionally, fail the build if there are warnings or errors diff --git a/package.json b/package.json index 16f39e43..0c41faeb 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "serve": "node server.js", "build": "antora --stacktrace preview.yml", "build-verify": "antora --stacktrace --fetch preview.yml --log-format=json --log-level=info --log-file ./build/log/log.json", - "publish-verify": "antora --stacktrace --fetch publish.yml --log-format=json --log-file ./build/log/log.json" + "publish-verify": "antora --stacktrace --fetch publish.yml --log-format=json --log-level=info --log-file ./build/log/log.json" }, "repository": { "type": "git",