This is an automated email from the ASF dual-hosted git repository.

zregvart 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 59029127 Add `--cwd` parameter for the website preview
59029127 is described below

commit 59029127923c277da49d0d92794038290fce97eb
Author: Zoran Regvart <zo...@regvart.com>
AuthorDate: Mon Jun 24 13:05:18 2024 +0200

    Add `--cwd` parameter for the website preview
    
    Fixes #1170
---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 05d43913..fcbedee2 100644
--- a/package.json
+++ b/package.json
@@ -25,7 +25,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",
+    "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",

Reply via email to