@@ -397,7 +397,7 @@ jobs:
397
397
steps :
398
398
- add_ssh_keys :
399
399
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
401
401
402
402
- checkout
403
403
@@ -447,8 +447,8 @@ jobs:
447
447
if [ "${CIRCLE_BRANCH}" == "doc-prod" ]; then
448
448
cd build/html
449
449
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
452
452
git add *
453
453
git commit -m build
454
454
git push --force [email protected] :plotly/plotly.py-docs.git master:built
@@ -459,6 +459,20 @@ jobs:
459
459
rm -rf build/html build/ipynb
460
460
cd ..
461
461
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 [email protected]
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
+
462
476
- run :
463
477
name : make doc
464
478
command : |
@@ -470,8 +484,8 @@ jobs:
470
484
cd _build/html
471
485
touch .nojekyll
472
486
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
475
489
git add *
476
490
git add .nojekyll
477
491
git commit -m build
0 commit comments