File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 9
9
steps :
10
10
- add_ssh_keys :
11
11
fingerprints :
12
- - " 32:3b:e8:1d:9a:32:6f:ca:ca:9e:f1:ce:e2:8a:e8:03 "
12
+ - " dc:5f:39:48:00:b4:72:34:e1:d2:c4:e1:1f:d1:e2:ce " # plotlydocbot
13
13
- checkout
14
14
- restore_cache :
15
15
keys :
@@ -53,14 +53,28 @@ jobs:
53
53
if [ "${CIRCLE_BRANCH}" == "master" ]; then
54
54
cd build
55
55
git init
56
- git config user.name joedamiba
57
- git config user.email joseph.damiba @plot.ly
56
+ git config user.name plotlydocbot
57
+ git config user.email accounts @plot.ly
58
58
rm -rf r/*.html
59
59
sed -i.bkp 's/<!--.*-->//g' r/*md && rm r/*.bkp
60
60
rm -rf ggplot2/*.html
61
61
sed -i.bkp 's/<!--.*-->//g' ggplot2/*md && rm ggplot2/*.bkp
62
62
git add *
63
- git commit -m build
63
+ git commit -m " build of https://github.com/plotly/plotly.r-docs/commit/${CIRCLE_SHA1}"
64
64
git push --force git@github.com:plotly/plotly.r-docs.git master:built
65
65
rm -rf .git
66
66
fi
67
+
68
+ - run :
69
+ name : trigger doc build
70
+ command : |
71
+ if [ "${CIRCLE_BRANCH}" == "master" ]; then
72
+ git clone --depth=1 --branch=source-design-merge https://github.com/plotly/documentation.git
73
+ cd documentation
74
+ git config user.name plotlydocbot
75
+ git config user.email accounts@plot.ly
76
+ git commit --allow-empty -m "deploying https://github.com/plotly/plotly.r-docs/commit/${CIRCLE_SHA1}"
77
+ git push
78
+ cd ..
79
+ rm -rf documentation
80
+ fi
You can’t perform that action at this time.
0 commit comments