File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,22 +30,16 @@ jobs:
3030 working-directory : ./libs/TKJHAT/docs
3131 run : doxygen Doxyfile
3232
33- # Collect the generated site regardless of OUTPUT_DIRECTORY setting
34- - name : Collect site
33+ # Sanity check the expected output path
34+ - name : Check output exists
3535 run : |
36- set -e
37- if [ -d "libs/TKJHAT/docs/out/html" ]; then
38- SRC="libs/TKJHAT/docs/out/html"
39- else
40- SRC="libs/TKJHAT/docs/html"
41- fi
42- mkdir -p site
43- cp -a "$SRC/." site/
36+ test -f libs/TKJHAT/docs/out/html/index.html || (echo "Missing libs/TKJHAT/docs/out/html/index.html"; exit 1)
4437
38+ # Upload exactly what Doxygen generated
4539 - name : Upload Pages artifact
4640 uses : actions/upload-pages-artifact@v3
4741 with :
48- path : site
42+ path : libs/TKJHAT/docs/out/html
4943
5044 deploy :
5145 needs : build
You can’t perform that action at this time.
0 commit comments