File tree 1 file changed +49
-43
lines changed
1 file changed +49
-43
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,55 @@ commands:
39
39
- " vendor/bundle"
40
40
41
41
42
+ # Workflows orchestrate a set of jobs to be run;
43
+ # the jobs for this pipeline are # configured below
44
+ workflows :
45
+ version : 2
46
+
47
+ build-deploy :
48
+ jobs :
49
+ - js_build
50
+ - build_server_pdfs
51
+ - build_api_docs
52
+ - build :
53
+ requires :
54
+ - js_build
55
+ - build_server_pdfs
56
+ - build_api_docs
57
+ - reindex-search :
58
+ requires :
59
+ - build
60
+ filters :
61
+ branches :
62
+ only : master
63
+ - deploy :
64
+ requires :
65
+ - build
66
+ filters :
67
+ branches :
68
+ only : master
69
+
70
+ # We run a nightly build for running build/maintenance tasks
71
+ # such as pulling in docker image tags or automating our api documentation
72
+ nightly-build :
73
+ triggers :
74
+ - schedule :
75
+ cron : " 0 8 * * *"
76
+ filters :
77
+ branches :
78
+ only : master
79
+ jobs :
80
+ - js_build
81
+ - build_api_docs
82
+ - build :
83
+ requires :
84
+ - js_build
85
+ - build_api_docs
86
+ - deploy :
87
+ requires :
88
+ - build
89
+
90
+
42
91
jobs :
43
92
js_build : # this job is responsible for building Javascript assets and making them available for the "build" job
44
93
executor : # we specify our executor to use the node orb.
@@ -217,46 +266,3 @@ jobs:
217
266
name : Deploy to S3 if tests pass and branch is Master
218
267
command : aws s3 sync generated-site/docs s3://circle-production-static-site/docs/ --delete
219
268
220
- workflows :
221
- version : 2
222
-
223
- build-deploy :
224
- jobs :
225
- - js_build
226
- - build_server_pdfs
227
- - build_api_docs
228
- - build :
229
- requires :
230
- - js_build
231
- - build_server_pdfs
232
- - build_api_docs
233
- - reindex-search :
234
- requires :
235
- - build
236
- filters :
237
- branches :
238
- only : master
239
- - deploy :
240
- requires :
241
- - build
242
- filters :
243
- branches :
244
- only : master
245
-
246
- nightly-build :
247
- triggers :
248
- - schedule :
249
- cron : " 0 8 * * *"
250
- filters :
251
- branches :
252
- only : master
253
- jobs :
254
- - js_build
255
- - build_api_docs
256
- - build :
257
- requires :
258
- - js_build
259
- - build_api_docs
260
- - deploy :
261
- requires :
262
- - build
You can’t perform that action at this time.
0 commit comments