mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-30 05:52:50 +00:00
Add password token back for Circle
Since we are not using SSH
This commit is contained in:
parent
3a2c801262
commit
efaa792206
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue