Skip to content

Commit b13b6a4

Browse files
committed
chore: 🤖 Put build in base path missing vars
1 parent 0ad387b commit b13b6a4

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changeset/new-teachers-matter.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fleek-platform/dashboard": patch
3+
---
4+
5+
Fix missing variables for put build in base path

.scripts/put_build_in_base_path

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ if [[ -z "$NEXT_PUBLIC_DASHBOARD_BASE_PATH" && -z "$CI" ]]; then
88
exit 0
99
fi
1010

11+
outputDir="out"
12+
outputBakDir="$outputDir.bak"
13+
indexForRedirectBaseDir="$outputDir/index.html"
14+
1115
if [[ -n "$NEXT_PUBLIC_DASHBOARD_BASE_PATH" && "$NEXT_PUBLIC_DASHBOARD_BASE_PATH" != '/' ]]; then
1216
echo "🤖 Must copy files to base path $NEXT_PUBLIC_DASHBOARD_BASE_PATH..."
1317

0 commit comments

Comments
 (0)