mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Try to fix Travis build
This commit is contained in:
parent
3807f6d75f
commit
57b2ddf335
@ -53,7 +53,7 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
|||||||
|
|
||||||
# Install GitHub pages import helper and Material, so we can use it as a
|
# Install GitHub pages import helper and Material, so we can use it as a
|
||||||
# base template and add overrides
|
# base template and add overrides
|
||||||
pip install ghp-import --user
|
pip install --user ghp-import
|
||||||
python setup.py install
|
python setup.py install
|
||||||
|
|
||||||
# Build documentation with overrides and publish to GitHub pages
|
# Build documentation with overrides and publish to GitHub pages
|
||||||
@ -61,6 +61,9 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
|||||||
ghp-import --no-jekyll --force --push site
|
ghp-import --no-jekyll --force --push site
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove overrides directory so it won't get included in the image
|
||||||
|
rm -rf overrides
|
||||||
|
|
||||||
# Terminate if we're not on a release branch
|
# Terminate if we're not on a release branch
|
||||||
echo "$TRAVIS_BRANCH" | grep -qvE "^[0-9.]+$" && exit 0; :;
|
echo "$TRAVIS_BRANCH" | grep -qvE "^[0-9.]+$" && exit 0; :;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user