Skip to content

Commit a3425f2

Browse files
committed
builld into deploy-preview
1 parent 3d83a95 commit a3425f2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ target
66
atlassian-ide-plugin.xml
77
node_modules/
88
deploy/
9+
deploy-preview/
910
coverage/
10-
src-preview/
1111
history
1212
Gemfile.lock

scripts/md2html/build-src.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@
66

77
mkdir -p deploy/oas
88
mkdir -p deploy/js
9-
mkdir -p src-preview
9+
mkdir -p deploy-preview
1010

11-
cd scripts/md2html
11+
cp -p node_modules/respec/builds/respec-w3c.* deploy/js/
1212

13-
cp -p ../../node_modules/respec/builds/respec-w3c.* ../../deploy/js/
13+
cd scripts/md2html
1414

1515
filename=src/oas.md
1616
tempfile=../../deploy/oas/oas.html
1717
echo "=== ${filename} ==="
1818

1919
node md2html.js --maintainers ../../EDITORS.md ../../${filename} > $tempfile
20-
npx respec --use-local --src $tempfile --out ../../src-preview/oas.html
20+
npx respec --use-local --src $tempfile --out ../../deploy-preview/oas.html
2121
rm $tempfile
2222

23-
echo Built src-preview/oas.html
23+
echo Built deploy-preview/oas.html
2424
echo
2525

2626
rm ../../deploy/js/respec-w3c.*

0 commit comments

Comments
 (0)