Skip to content

Commit

Permalink
fix(docs): Ensure documentation is properly deployed
Browse files Browse the repository at this point in the history
Change docs publishing script to use the GH API Token instead of trying to clone a repo via SSH
  • Loading branch information
trodrigues committed Feb 25, 2016
1 parent c1960d4 commit 9f0de7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

PAGES_DIR=./gh-pages
DOCS_DIR=./out
REPO="git@github.com:contentful/contentful.js.git"
REPO="https://${GH_TOKEN}@github.com/contentful/contentful.js.git"
VERSION=`cat package.json|grep version|sed -e 's/.*version": "//g'|sed -e 's/",.*//g'`

echo "Publishing docs"
Expand Down

0 comments on commit 9f0de7c

Please sign in to comment.