This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch chore/build-maintenance in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 88f4ed17f70a83a40b2efe11792159778ee0a238 Author: Claus Ibsen <[email protected]> AuthorDate: Sun Nov 29 13:52:09 2026 +0100 chore: remove stale Netlify build settings, dependenciesMeta and GA partial - netlify.toml: Netlify never builds the site. pr.yaml builds it on GitHub Actions and preview.yaml uploads public/ with netlify deploy --no-build, so the yarn build-all command and YARN_VERSION=1.22.5 (the repository uses Yarn 4) were dead. The asset post-processing setting went too: Netlify removed that feature. - antora-ui-camel: drop the dependenciesMeta for [email protected]; the dependency is ~11 and no 9.x is installed. - antora-ui-camel: drop head-scripts.hbs, which only held the Google Analytics snippet. No playbook sets site.keys.googleAnalytics, and the site's Content-Security-Policy would block googletagmanager.com anyway. Refs #1882 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y4dDj46SB6GniXf8mX2U6 --- antora-ui-camel/package.json | 5 ----- antora-ui-camel/src/partials/head-scripts.hbs | 4 ---- antora-ui-camel/src/partials/head.hbs | 1 - netlify.toml | 11 ++++++----- yarn.lock | 3 --- 5 files changed, 6 insertions(+), 18 deletions(-) diff --git a/antora-ui-camel/package.json b/antora-ui-camel/package.json index 3998269d..ebd1213c 100644 --- a/antora-ui-camel/package.json +++ b/antora-ui-camel/package.json @@ -79,11 +79,6 @@ "@docsearch/css": "^5.0.0", "@docsearch/js": "^5.0.0" }, - "dependenciesMeta": { - "[email protected]": { - "unplugged": true - } - }, "resolutions": { "http-cache-semantics": "4.1.1", "nth-check": "2.1.1", diff --git a/antora-ui-camel/src/partials/head-scripts.hbs b/antora-ui-camel/src/partials/head-scripts.hbs deleted file mode 100644 index e7da2bbd..00000000 --- a/antora-ui-camel/src/partials/head-scripts.hbs +++ /dev/null @@ -1,4 +0,0 @@ - {{#with site.keys.googleAnalytics}} - <script async src="https://www.googletagmanager.com/gtag/js?id={{this}}"></script> - <script>function gtag(){dataLayer.push(arguments)};window.dataLayer=window.dataLayer||[];gtag('js',new Date());gtag('config','{{this}}')</script> - {{/with}} diff --git a/antora-ui-camel/src/partials/head.hbs b/antora-ui-camel/src/partials/head.hbs index 7dd18b2a..e3f020fc 100644 --- a/antora-ui-camel/src/partials/head.hbs +++ b/antora-ui-camel/src/partials/head.hbs @@ -3,5 +3,4 @@ {{> head-info}} {{> head-styles}} {{> head-meta}} -{{> head-scripts}} {{> head-icons}} diff --git a/netlify.toml b/netlify.toml index 4aa038de..d86196be 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,7 @@ -[build] - command = "yarn build-all" - environment = { CAMEL_ENV = "netlify", YARN_VERSION = "1.22.5" } +# Netlify does not build this site. Pull request previews are built on GitHub +# Actions (.github/workflows/pr.yaml) and the result is uploaded with +# `netlify deploy --no-build --dir public` (.github/workflows/preview.yaml), so +# no build command, Node.js or Yarn version is set here. -[build.processing] - skip_processing = false +[build] + publish = "public" diff --git a/yarn.lock b/yarn.lock index be0b6420..555957be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3975,9 +3975,6 @@ __metadata: undertaker: "npm:^2.0.0" vinyl-buffer: "npm:~1.0" vinyl-fs: "npm:^4.0.2" - dependenciesMeta: - [email protected]: - unplugged: true languageName: unknown linkType: soft
