@@ -397,7 +397,7 @@ jobs:
397397 steps :
398398 - add_ssh_keys :
399399 fingerprints :
400- - " 3e:4b:19:1c:c2:d1:92:dd:bf:f8:c9:d6:a6:78:69:2a " # plotly.py-docs (built)
400+ - " dc:5f:39:48:00:b4:72:34:e1:d2:c4:e1:1f:d1:e2:ce " # plotlydocbot
401401
402402 - checkout
403403
@@ -447,8 +447,8 @@ jobs:
447447 if [ "${CIRCLE_BRANCH}" == "doc-prod" ]; then
448448 cd build/html
449449 git init
450- git config user.name nicolaskruchten
451- git config user.email nicolas @plot.ly
450+ git config user.name plotlydocbot
451+ git config user.email accounts @plot.ly
452452 git add *
453453 git commit -m build
454454 git push --force git@github.com:plotly/plotly.py-docs.git master:built
@@ -459,6 +459,20 @@ jobs:
459459 rm -rf build/html build/ipynb
460460 cd ..
461461
462+ - run :
463+ name : trigger doc build
464+ command : |
465+ if [ "${CIRCLE_BRANCH}" == "doc-prod" ]; then
466+ git clone --depth=1 --branch=source-design-merge https://github.com/plotly/documentation.git
467+ cd documentation
468+ git config user.name plotlydocbot
469+ git config user.email accounts@plot.ly
470+ git commit --allow-empty -m "deploying https://github.com/plotly/plotly.py/commit/${CIRCLE_SHA1}"
471+ git push
472+ cd ..
473+ rm -rf documentation
474+ fi
475+
462476 - run :
463477 name : make doc
464478 command : |
@@ -470,8 +484,8 @@ jobs:
470484 cd _build/html
471485 touch .nojekyll
472486 git init
473- git config user.name emmanuelle
474- git config user.email emma @plot.ly
487+ git config user.name plotlydocbot
488+ git config user.email accounts @plot.ly
475489 git add *
476490 git add .nojekyll
477491 git commit -m build
0 commit comments