Skip to content

Commit 53d2df7

Browse files
remove comments cuz they cause syntax errors
1 parent ca6cdf9 commit 53d2df7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

index.bash

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# Prepare Deployment
21
mkdir -p deploy
32
cp -r .next/server/pages/* deploy/
43
mkdir -p deploy/_next/static/
54
cp -r .next/static/* deploy/_next/static/
65
cp .next/server/pages/en.html deploy/index.html
7-
# (fake) API Endpoints
86
mkdir -p deploy/api/
97
BUILD_ID=$(cat .next/BUILD_ID)
108
echo "$BUILD_ID" > deploy/api/build-id
@@ -13,7 +11,6 @@ echo "{\"BUILD_ID\": \"$BUILD_ID\"}" > deploy/api/build-id.json
1311
cp .next/build-manifest.json deploy/api/build-manifest
1412
cp .next/build-manifest.json deploy/api/build-manifest.json
1513
cp .next/build-manifest.json deploy/api/build-manifest.txt
16-
# Modify Deployment
1714
mkdir -p deploy/_just/
1815
FILE_ID=1
1916
echo ""
@@ -40,7 +37,6 @@ echo ""
4037
echo "End _just Chunks"
4138
echo ""
4239
echo "----------------"
43-
# Override Deployment
4440
for html_file in deploy/*.html; do
4541
for js_file in deploy/_just/*.js; do
4642
echo "<script src=\"_just/$(basename "$js_file")\"></script>" >> "$html_file"

0 commit comments

Comments
 (0)