Skip to content

Commit 941212c

Browse files
committed
Fixing mkdir errors in publish-docs
1 parent 3fbbfa6 commit 941212c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/publish-docs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#!/bin/sh
22
rm -Rf dist/*
33
npm run build
4+
mkdir -p /tmp/css-toggle-component
5+
cp -R dist/* /tmp/css-toggle-component
46
git checkout gh-pages
5-
cp -R dist/* ./
7+
cp -R /tmp/css-toggle-component/* ./
68
git add .
79
git commit -m "Publishing docs for $(git log -1 --pretty=%B)"
810
git push origin gh-pages

0 commit comments

Comments
 (0)