Skip to content

Commit 53d3808

Browse files
authored
Merge pull request #2701 from telerik/deploy-astro-app
chore: change github pages script
2 parents 44940dd + 92eeb74 commit 53d3808

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ updates:
3636
labels:
3737
- "Dependencies"
3838

39-
- package-ecosystem: "npm"
39+
- package-ecosystem: "npm"
4040
directory: "/examples/kendo-react-e-commerce-astro-app"
4141
schedule:
4242
interval: "daily"

live/bin/build-gh-pages

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ do
1515
rm -rf build
1616
npm run build
1717
mkdir -p ../../live/build/${PROJECT}
18-
mv -v build/* ../../live/build/${PROJECT}
18+
19+
if [ "$PROJECT" = "kendo-react-e-commerce-astro-app" ]; then
20+
mv -v dist/* "../../live/build/${PROJECT}"
21+
else
22+
mv -v build/* "../../live/build/${PROJECT}"
23+
fi
1924

2025
popd > /dev/null
2126
done

0 commit comments

Comments
 (0)