From 92eeb74735bf87d73f90a586b852bfbdb72fe60a Mon Sep 17 00:00:00 2001 From: Boryana Todorova Date: Mon, 18 Nov 2024 15:14:49 +0200 Subject: [PATCH] chore: change github pages script --- .github/dependabot.yml | 2 +- live/bin/build-gh-pages | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b6ecb053..6b656d1a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -36,7 +36,7 @@ updates: labels: - "Dependencies" - - package-ecosystem: "npm" + - package-ecosystem: "npm" directory: "/examples/kendo-react-e-commerce-astro-app" schedule: interval: "daily" diff --git a/live/bin/build-gh-pages b/live/bin/build-gh-pages index 518603a9..8d90e3f5 100755 --- a/live/bin/build-gh-pages +++ b/live/bin/build-gh-pages @@ -15,7 +15,12 @@ do rm -rf build npm run build mkdir -p ../../live/build/${PROJECT} - mv -v build/* ../../live/build/${PROJECT} + +if [ "$PROJECT" = "kendo-react-e-commerce-astro-app" ]; then + mv -v dist/* "../../live/build/${PROJECT}" +else + mv -v build/* "../../live/build/${PROJECT}" +fi popd > /dev/null done