From 23f4249afec8598b87c2b3fe049a00a4b3e53c17 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 25 Aug 2015 13:09:14 +0000 Subject: [PATCH] Sync docs from HEAD to gh-pages --- HEAD/ghpages.sh | 5 +++-- HEAD/spring-cloud-netflix.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HEAD/ghpages.sh b/HEAD/ghpages.sh index 00a208ded..ed9a00051 100644 --- a/HEAD/ghpages.sh +++ b/HEAD/ghpages.sh @@ -37,13 +37,14 @@ for f in docs/target/generated-docs/*; do fi done -git commit -a -m "Sync docs from $branch to gh-pages" +git add -A README.adoc || echo "No change to README.adoc" +git commit -a -m "Sync docs from $branch to gh-pages" || echo "Nothing committed" # Uncomment the following push if you want to auto push to # the gh-pages branch whenever you commit to branch locally. # This is a little extreme. Use with care! ################################################################### -git push origin gh-pages +git push origin gh-pages || echo "Cannot push gh-pages" # Finally, switch back to the current branch and exit block git checkout $branch diff --git a/HEAD/spring-cloud-netflix.html b/HEAD/spring-cloud-netflix.html index d66dd0b9d..4bc05f781 100644 --- a/HEAD/spring-cloud-netflix.html +++ b/HEAD/spring-cloud-netflix.html @@ -1727,7 +1727,7 @@ info: