There was an error while loading. Please reload this page.
1 parent 3fbbfa6 commit 941212cCopy full SHA for 941212c
scripts/publish-docs
@@ -1,8 +1,10 @@
1
#!/bin/sh
2
rm -Rf dist/*
3
npm run build
4
+mkdir -p /tmp/css-toggle-component
5
+cp -R dist/* /tmp/css-toggle-component
6
git checkout gh-pages
-cp -R dist/* ./
7
+cp -R /tmp/css-toggle-component/* ./
8
git add .
9
git commit -m "Publishing docs for $(git log -1 --pretty=%B)"
10
git push origin gh-pages
0 commit comments