From 4505f0739f3822eae58b603a384de269ae430f64 Mon Sep 17 00:00:00 2001 From: Evgeny L Date: Wed, 26 Dec 2018 21:39:29 +0000 Subject: [PATCH] Update docs, ensure that env variables passed when running under sudo Change-Id: I69b27c91f21052051095582d7838f998903904c5 --- doc/source/authoring_and_deployment.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/authoring_and_deployment.rst b/doc/source/authoring_and_deployment.rst index 041219543..0013d6c4a 100644 --- a/doc/source/authoring_and_deployment.rst +++ b/doc/source/authoring_and_deployment.rst @@ -524,7 +524,7 @@ Now, create an output directory for Promenade bundles and run the :: mkdir ${NEW_SITE}_bundle - sudo airship-promenade/tools/simple-deployment.sh ${NEW_SITE}_collected ${NEW_SITE}_bundle + sudo -E airship-promenade/tools/simple-deployment.sh ${NEW_SITE}_collected ${NEW_SITE}_bundle Estimated runtime: About **1 minute** @@ -893,7 +893,7 @@ Next, run the deckhand\_load\_yaml.sh script as follows: :: - sudo airship-shipyard/tools/deckhand_load_yaml.sh ${NEW_SITE} ${NEW_SITE}_collected + sudo -E airship-shipyard/tools/deckhand_load_yaml.sh ${NEW_SITE} ${NEW_SITE}_collected Estimated runtime: **3m** @@ -901,7 +901,7 @@ Now deploy the site with shipyard: :: - sudo airship-shipyard/tools/deploy_site.sh + sudo -E airship-shipyard/tools/deploy_site.sh Estimated runtime: **1h30m**