Skip to content

Commit bcb0392

Browse files
Update build_map.sh
1 parent c7ce630 commit bcb0392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/build_map.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ echo "$(cat $GITHUB_ACTION_PATH/src/_justManifest_end.js)" >> deploy/_just/stati
139139

140140
# Override Pages
141141
for html_file in deploy/*.html; do
142-
sed -i.bak '/<\/body>/d' "$html_file"
143-
sed -i.bak '/<\/html>/d' "$html_file"
142+
sed -i.bak '/<\/body>/!d' "$html_file"
143+
sed -i.bak '/<\/html>/!d' "$html_file"
144144
echo "<script src=\"_just/static/$BUILD_ID/buildManifest.js\"></script>" >> "$html_file"
145145
echo "<script src=\"_just/static/$BUILD_ID/_justManifest.js\"></script>" >> "$html_file"
146146
echo "</body></html>" >> "$html_file"

0 commit comments

Comments
 (0)