Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
Problem: Github pages update does not work correctly
Browse files Browse the repository at this point in the history
Solution: Add verbose mode to staging copy for troubleshooting
  • Loading branch information
msteinhoff committed Jan 6, 2017
1 parent 1c049b2 commit 7cfd475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions travis/publish-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ git clone --quiet --branch=gh-pages https://$GH_TOKEN@github.com/$REPO_SLUG.git
echo -e "Updating gh-pages branch...\n"
cd ghp-repo
git rm -f ./*
cp -f $STAGING_DIRECTORY/* .
cp -fv $STAGING_DIRECTORY/* .

if [ "$SNAPSHOT" = "false" ];
then
mkdir $RELEASE_VERSION/
cp -Rf $STAGING_DIRECTORY/$RELEASE_VERSION/* $RELEASE_VERSION/
cp -Rfv $STAGING_DIRECTORY/$RELEASE_VERSION/* $RELEASE_VERSION/
fi

git add -A -f .
Expand Down

0 comments on commit 7cfd475

Please sign in to comment.