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 e576dc6 commit 2bf509cCopy full SHA for 2bf509c
script/deploy.sh
@@ -3,11 +3,13 @@ echo "Deploy docs to github pages.";
3
npm run docs;
4
mkdir gh_pages;
5
cp -r docs gh_pages/;
6
+cp -r dist/av* gh_pages/;
7
+cp -r demo gh_pages/;
8
cd gh_pages && git init;
9
git config user.name "leancloud-bot";
10
git config user.email "[email protected]";
11
git add .;
-git commit -m "Deploy docs to Github Pages [skip ci]";
12
+git commit -m "Deploy docs and demos to Github Pages [skip ci]";
13
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git master:gh-pages;
14
echo "done.";
15
cd ..
0 commit comments