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() {
258258
259259 mv pages " ${main_docs} /html"
260260
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+
261273 # Make last release docs
262274 release_docs=" $( mktemp -d) "
263275 TEMP_DIRS+=(" ${release_docs} " )
@@ -287,11 +299,12 @@ function run_docs() {
287299
288300 mv " ${release_docs} /old-gh-pages-branch/.git" " ${release_docs} /html/"
289301 mv " ${main_docs} /html" " ${release_docs} /html/main"
302+ mv " ${alice_docs} /html" " ${release_docs} /html/alice"
290303
291304 cd " ${release_docs} /html"
292305
293306 git config user.name ' Alice'
294- git config user.email ' alice@chadig.com'
307+ git config user.email ' alice@docs.ci.dffml. chadig.com'
295308
296309 git add -A
297310 git commit -sam " docs: $( date) "
You can’t perform that action at this time.
0 commit comments