We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 394ba3a commit 2829844Copy full SHA for 2829844
bin/deploy-doc.sh
@@ -2,15 +2,13 @@
2
3
git stash save 'Before deploy' # Stash all changes before deploy
4
git checkout master
5
-npm run build
6
-cp dist/vue-avatar.min.js gh-pages/
7
-git add gh-pages/vue-avatar.min.js
+yarn docs
8
git commit -m "Deploy docs"
9
RESULT=$?
10
if [ $RESULT -eq 0 ]; then
11
echo ' >> Changes Committed << '
12
fi
13
-git subtree push --prefix gh-pages origin gh-pages # Deploy gh-pages
+git subtree push --prefix docs origin gh-pages # Deploy gh-pages
14
git push origin master
15
git stash pop # And restore the changes
16
echo ' >> Deployed << '
0 commit comments