mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
fix up last bit
This commit is contained in:
parent
2182d6478a
commit
3bd516dcf2
@ -23,7 +23,7 @@ rm -rf gh-pages
|
|||||||
# Get list of demos
|
# Get list of demos
|
||||||
demos=`ls demos/*.html`
|
demos=`ls demos/*.html`
|
||||||
# Clone gh-pages branch
|
# Clone gh-pages branch
|
||||||
git worktree add gh-pages gh-pages
|
git worktree add gh-pages origin/gh-pages
|
||||||
# Copy built source to gh-pages
|
# Copy built source to gh-pages
|
||||||
cp -rf demos/* gh-pages/demos
|
cp -rf demos/* gh-pages/demos
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ read -p "Test build/gh-pages/demos/index.html, then press 'y' to publish to gh-p
|
|||||||
echo # (optional) move to a new line
|
echo # (optional) move to a new line
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||||
then
|
then
|
||||||
(cd build/gh-pages && git add -A && git commit -m 'Update gh-pages' && git push origin gh-pages)
|
(cd gh-pages && git add -A && git commit -m 'Update gh-pages' && git push origin HEAD:gh-pages)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Bundled/compiled build currently not working well....
|
# Bundled/compiled build currently not working well....
|
||||||
|
Loading…
Reference in New Issue
Block a user