File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ set -o pipefail
44set -o nounset
55set -o xtrace
66set -u
7- BRANCH=$( echo " $TRAVIS_BRANCH " | awk ' {print tolower($0)} ' )
7+ BRANCH=$( echo " $TRAVIS_BRANCH " )
88BRANCH_PATH=" preview/$BRANCH "
99git config --replace-all remote.origin.fetch +refs/heads/* :refs/remotes/origin/*
10- git fetch origin gh-pages
10+ git fetch --deepen=50000
1111# TODO: changes in the package-lock.json are breaking the build, see https://api.travis-ci.org/v3/job/544918298/log.txt
1212git checkout package-lock.json
1313git checkout gh-pages
@@ -23,7 +23,7 @@ if [[ -n "$(git status --porcelain "${BRANCH_PATH}")" && ${TRAVIS_PULL_REQUEST}
2323 bash scripts/create-table-of-contents.sh
2424 bash scripts/remove-docs-for-deleted-branches.sh
2525 git add preview
26- git add index .md
26+ git add TableOfContents .md
2727 git commit -m " Docs changed for " ${TRAVIS_BRANCH} " "
2828 git push
[email protected] :
" ${TRAVIS_REPO_SLUG} " gh-pages
2929else
You can’t perform that action at this time.
0 commit comments