Skip to content

Commit 0b187b6

Browse files
authoredDec 23, 2024··
Temp files in deploy-preview
1 parent a3425f2 commit 0b187b6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed
 

‎scripts/md2html/build-src.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44

55
# run this script from the root of the repo
66

7-
mkdir -p deploy/oas
8-
mkdir -p deploy/js
97
mkdir -p deploy-preview
8+
mkdir -p deploy-preview/js
109

11-
cp -p node_modules/respec/builds/respec-w3c.* deploy/js/
10+
cp -p node_modules/respec/builds/respec-w3c.* deploy-preview/js/
1211

1312
cd scripts/md2html
1413

1514
filename=src/oas.md
16-
tempfile=../../deploy/oas/oas.html
15+
tempfile=../../deploy-preview/oas-temp.html
1716
echo "=== ${filename} ==="
1817

1918
node md2html.js --maintainers ../../EDITORS.md ../../${filename} > $tempfile
@@ -23,4 +22,4 @@ rm $tempfile
2322
echo Built deploy-preview/oas.html
2423
echo
2524

26-
rm ../../deploy/js/respec-w3c.*
25+
rm ../../deploy-preview/js/respec-w3c.*

0 commit comments

Comments
 (0)
Please sign in to comment.