From b228e8b1e493935c431689c8c897eda0bfbd3f98 Mon Sep 17 00:00:00 2001 From: Chihurumnaya Ibiam Date: Sat, 6 Apr 2024 12:45:21 +0100 Subject: [PATCH] Use sudo to run commands Signed-off-by: Chihurumnaya Ibiam --- ci/docs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/docs.sh b/ci/docs.sh index 7eb83d1bd..9c8b5306a 100755 --- a/ci/docs.sh +++ b/ci/docs.sh @@ -13,7 +13,7 @@ show-green () { } # clone repo -git clone https://github.com/sugarlabs/sugar-toolkit-gtk3.git +sudo git clone https://github.com/sugarlabs/sugar-toolkit-gtk3.git cd sugar-toolkit-gtk3 # make source @@ -23,9 +23,9 @@ sudo make # make documentation show-green "Building documentation" -./make-doc.sh -mkdir deploy -mv doc/_build/html deploy/sugar3 +sudo ./make-doc.sh +sudo mkdir deploy +sudo mv doc/_build/html deploy/sugar3 touch deploy/.nojekyll # create an index.html so that users don't become confused show-green "Writing index.html"