diff --git a/.circleci/config.yml b/.circleci/config.yml index 9a19549d88..d39fb35a8b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -62,9 +62,9 @@ jobs: # Do not do this if we don't have the right org (facebook), or if this is just a pull request command: | if [[ $CIRCLE_PROJECT_USERNAME == "facebook" && -z $CI_PULL_REQUEST && -z $CIRCLE_PR_USERNAME ]]; then - git config --global user.email "docusaurus@users.noreply.github.com" + git config --global user.email "docusaurus-bot@users.noreply.github.com" git config --global user.name "Website Deployment Script" - echo "machine github.com login docusaurus-bot" > ~/.netrc + echo "machine github.com login docusaurus-bot password $DOCUSAURUS_PUBLISH_TOKEN" > ~/.netrc fi - run: name: Deploy Website