fix(docs-ci): setting GH_TOKEN_DOCS to deploy docs

This commit is contained in:
MateusAndrade 2019-06-12 22:38:11 -03:00
parent 4d01c8e113
commit b891b1a245

View File

@ -57,6 +57,7 @@ jobs:
command: |
git config --global user.email "${GH_EMAIL}@users.noreply.github.com"
git config --global user.name "${GH_NAME}"
echo "machine github.com login $GH_NAME password $GH_TOKEN_DOCS" > ~/.netrc
cd website && yarn install && GIT_USER=${GH_NAME} yarn run publish-gh-pages
workflows:
version: 2