Skip to content
Permalink
Browse files

man2html deploy: don't shallow-clone gh-pages

Need full history for git push to work.
  • Loading branch information...
kernc committed Dec 29, 2018
1 parent f397525 commit f3bdc3b17611042e72a7c6cb46a9f36952ffd6bb
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis/man2html.sh
@@ -15,7 +15,7 @@ if ! git diff --name-only "$parent" "$head" | grep -Pq "doc/.*\.[1-8]$"; then
exit 0
fi

git clone -b gh-pages --depth 3 "https://kernc:$GH_PASSWORD@github.com/$TRAVIS_REPO_SLUG.git" gh-pages
git clone -b gh-pages "https://kernc:$GH_PASSWORD@github.com/$TRAVIS_REPO_SLUG.git" gh-pages
groff -wall -mandoc -Thtml doc/xsuspender.1 > gh-pages/xsuspender.1.html
cd gh-pages
git commit -m "CI: Update xsuspender.1.html from $head" -- xsuspender.1.html

0 comments on commit f3bdc3b

Please sign in to comment.
You can’t perform that action at this time.