diff --git a/.github/workflows/website-depoy.yml b/.github/workflows/website-depoy.yml index 141069c1b7..20921a6881 100644 --- a/.github/workflows/website-depoy.yml +++ b/.github/workflows/website-depoy.yml @@ -23,7 +23,7 @@ jobs: - name: Setup / build docs run: | sudo chmod -R 777 . - sudo ./scripts/install_via_pip.sh -n -d + ./scripts/install_via_pip.sh -n -d ./scripts/build_docs.sh -b cd website diff --git a/scripts/build_insights.sh b/scripts/build_insights.sh index 86b4a941bb..c7ca8e3af0 100755 --- a/scripts/build_insights.sh +++ b/scripts/build_insights.sh @@ -58,7 +58,7 @@ echo "-----------------------------------" echo "Building Captum Insights widget" echo "-----------------------------------" -../node_modules/.bin/webpack-cli --config webpack.config.js +sudo ../node_modules/.bin/webpack-cli --config webpack.config.js # exit subdir popd || exit