Skip to content

Commit

Permalink
[travis] Only auth on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
thislooksfun committed Nov 29, 2017
1 parent c5c6140 commit ae89d5e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ fi

./scripts/install.sh

git clone "https://thislooksfun:$gh_token@github.com/thislooksfun/compiled_mustache.wiki.git"
if [[ $CI == true ]]; then
git clone "https://thislooksfun:$gh_token@github.com/thislooksfun/compiled_mustache.wiki.git"
else
git clone "https://github.com/thislooksfun/compiled_mustache.wiki.git"
fi
grind doc_benchmark_wiki
cd compiled_mustache.wiki
git add -A
Expand Down

0 comments on commit ae89d5e

Please sign in to comment.