This repository was archived by the owner on Aug 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,18 @@ function run_docs() {
258
258
259
259
mv pages " ${main_docs} /html"
260
260
261
+ # Make alice docs
262
+ alice_branch_repo=" $( mktemp -d) "
263
+ alice_docs=" $( mktemp -d) "
264
+ TEMP_DIRS+=(" ${main_docs} " )
265
+ git clone --depth=1 https://github.com/intel/dffml -b alice " ${alice_branch_repo} "
266
+ rm -rf pages
267
+ dffml service dev docs -no-strict || ./scripts/docs.sh
268
+ # Check to see if docs built successfully
269
+ if [ ! -f pages/index.html ]; then
270
+ echo " ::warning::Alice docs build failed" 1>&2
271
+ fi
272
+
261
273
# Make last release docs
262
274
release_docs=" $( mktemp -d) "
263
275
TEMP_DIRS+=(" ${release_docs} " )
@@ -287,11 +299,12 @@ function run_docs() {
287
299
288
300
mv " ${release_docs} /old-gh-pages-branch/.git" " ${release_docs} /html/"
289
301
mv " ${main_docs} /html" " ${release_docs} /html/main"
302
+ mv " ${alice_docs} /html" " ${release_docs} /html/alice"
290
303
291
304
cd " ${release_docs} /html"
292
305
293
306
git config user.name ' Alice'
294
- git config user.email ' alice@chadig.com'
307
+ git config user.email ' alice@docs.ci.dffml. chadig.com'
295
308
296
309
git add -A
297
310
git commit -sam " docs: $( date) "
You can’t perform that action at this time.
0 commit comments