Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Commit

Permalink
Fix gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bobby-vandiver committed Mar 6, 2016
1 parent a994320 commit e64bfae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions travis-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ if [ $TRAVIS_PULL_REQUEST == 'false' ]; then
echo "https://$GITHUB_TOKEN:@github.com" > ~/.git-credentials

git clone https://${GITHUB_TOKEN}@github.com/$TRAVIS_REPO_SLUG.git -b gh-pages gh-pages --single-branch > /dev/null
cd gh-pages/v3
git rm -rf .
cp -r ../../spring-security-oauth2-provider/build/docs/. ./
cd gh-pages
git rm -rf v3/*
cp -rp ../spring-security-oauth2-provider/build/docs/. v3/
git add *
git commit -a -m "Updating 3.x docs for Travis build: https://travis-ci.org/$TRAVIS_REPO_SLUG/builds/$TRAVIS_BUILD_ID"
git push origin HEAD
Expand Down

0 comments on commit e64bfae

Please sign in to comment.