Skip to content

Commit

Permalink
0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
DoumanAsh committed Apr 29, 2017
1 parent f8ac42a commit 4156e76
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ci/upload_arts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,20 @@ sh "$(dirname "$0")/coverage.sh"

## Configure Travis
COMMIT_AUTHOR_EMAIL=`git --no-pager log -1 --pretty=format:"%ae" HEAD`
REPO=`git config remote.origin.url`
SHA=`git log -1 --format="%s(%h %cd)" --date=short`

git config --global user.name "Travis CI"
git config --global user.email "$COMMIT_AUTHOR_EMAIL"
echo "https://${GIT_TOKEN}:x-oauth-basic@github.com\n" > ~/.git-credentials

## Upload HTML docs
rm -rf html/
mkdir html/
cd html/

git clone $REPO .
git clone $REPO html/

git checkout gh-pages || git checkout --orphan gh-pages

ls

find . -name "_*.*" | xargs rm -rf
find . -name ".*.*" | xargs rm -rf
rm -rf *
Expand Down

0 comments on commit 4156e76

Please sign in to comment.