From 1f593b5bc7cb77762977b49b3dc96a164b67060e Mon Sep 17 00:00:00 2001 From: Holger Graef Date: Fri, 10 Mar 2023 16:02:08 +0000 Subject: [PATCH] make website build compliant with GH codespaces --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 201f53044..c465570c3 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ install-dependencies: website: # clone bootstrap rm -rf build/bootstrap - git clone -b v5.2.3 --depth 1 git@github.com:twbs/bootstrap.git build/bootstrap + git clone -b v5.2.3 --depth 1 https://github.com/twbs/bootstrap.git build/bootstrap rm -rf build/bootstrap/.git rm -rf build/bootstrap/site/content/docs @@ -16,6 +16,7 @@ website: rm build/bootstrap/site/layouts/partials/docs-versions.html cd build/bootstrap && npm install + cd build/bootstrap && npm install hugo-extended --save-dev cp site/config.yml build/bootstrap/config.yml cp site/linkedin.svg build/bootstrap/site/layouts/partials/icons/linkedin.svg @@ -41,7 +42,7 @@ website: cp site/_variables.scss build/bootstrap/site/assets/scss/_variables.scss # build website - cd build/bootstrap && hugo --cleanDestinationDir + cd build/bootstrap && npx hugo --cleanDestinationDir # copy build to Racine rm -rf ./_site @@ -59,7 +60,7 @@ website-prepare-deploy: website git add docs hugo-serve: - cd build/bootstrap && hugo server --port 9001 --disableFastRender + cd build/bootstrap && npx hugo server --port 9001 --disableFastRender --verbose install-ckeditor: # clone CKEditor 4.9.2