Skip to content

Commit 9f0de7c

Browse files
committed
fix(docs): Ensure documentation is properly deployed
Change docs publishing script to use the GH API Token instead of trying to clone a repo via SSH
1 parent c1960d4 commit 9f0de7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/publish-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

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

1010
echo "Publishing docs"

0 commit comments

Comments
 (0)