File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 68
68
- run :
69
69
name : Docs tests
70
70
command : yarn docs-test
71
+ - persist_to_workspace :
72
+ root : packages/opentelemetry-types/docs
73
+ paths : out
74
+ docs-deploy :
75
+ docker :
76
+ - image : node:12
77
+ steps :
78
+ - checkout
79
+ - attach_workspace :
80
+ at : packages/opentelemetry-types/docs
81
+ - run :
82
+ name : Install and configure dependencies
83
+ command : |
84
+ npm install -g --silent [email protected]
85
+ git config user.email [email protected]
86
+ git config user.name "ci-build"
87
+ - add_ssh_keys :
88
+ fingerprints :
89
+ - " 08:7b:ae:2d:8f:dd:a7:4e:ad:f6:44:cc:99:55:34:a1"
90
+ - run :
91
+ name : Deploy docs to gh-pages branch
92
+ command : gh-pages --dist packages/opentelemetry-types/docs/out
71
93
node8 :
72
94
docker :
73
95
- image : node:8
@@ -95,6 +117,12 @@ workflows:
95
117
jobs :
96
118
- lint
97
119
- docs
120
+ - docs-deploy :
121
+ requires :
122
+ - docs
123
+ filters :
124
+ branches :
125
+ only : master
98
126
- node8
99
127
- node10
100
128
- node11
You can’t perform that action at this time.
0 commit comments