This is an automated email from the ASF dual-hosted git repository.
gansheer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/main by this push:
new 527abb19 fix: netlify config preview update
527abb19 is described below
commit 527abb1932e8ed7407cb854524abaffd1c9ffa6c
Author: Gaelle Fournier <[email protected]>
AuthorDate: Fri Aug 7 10:11:15 2026 +0200
fix: netlify config preview update
---
.github/workflows/preview.yaml | 2 +-
package.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml
index 2a8cccb0..46b10f05 100644
--- a/.github/workflows/preview.yaml
+++ b/.github/workflows/preview.yaml
@@ -63,7 +63,7 @@ jobs:
PR_NUMBER=${PR_NUMBER//[^0-9]/}
PR_URL="https://github.com/apache/camel-website/pull/${PR_NUMBER}"
yarn install
- DEPLOY_OUTPUT=$(yarn preview:netlify --alias="pr-${PR_NUMBER}"
--message="Preview for ${PR_URL}" --json)
+ DEPLOY_OUTPUT=$(yarn preview:netlify --site "$NETLIFY_SITE_ID"
--alias="pr-${PR_NUMBER}" --message="Preview for ${PR_URL}" --json)
echo "Deploy output: $DEPLOY_OUTPUT"
DEPLOY_URL=$(echo "$DEPLOY_OUTPUT" | jq -r '.deploy_ssl_url //
.deploy_url // .url // empty')
echo "DEPLOY_URL=${DEPLOY_URL}" >> $GITHUB_ENV
diff --git a/package.json b/package.json
index 3fb91ca3..0582fcc1 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,7 @@
"update:dedupe": "yarn workspaces foreach --all dedupe",
"preview": "run-s -l build:antora preview:hugo",
"preview:hugo": "hugo server --bind=0.0.0.0 -D",
- "preview:netlify": "netlify deploy --dir public --cwd . --filter
apache-camel-website",
+ "preview:netlify": "netlify deploy --dir public --cwd .",
"build:antora-local-full": "antora local-antora-playbook-full.yml
--stacktrace --clean --fetch",
"build:antora-local-partial": "antora local-antora-playbook-partial.yml
--stacktrace",
"build:antora-local-full2": "antora antora-playbook-local-full.yml
--stacktrace --clean --fetch",