File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 3131 schedule :
3232 - cron : ' 0 16 30 * *'
3333 workflow_dispatch :
34-
34+
3535permissions :
3636 contents : read
3737 pages : write
3838 id-token : write
39-
39+
4040jobs :
4141 build :
4242 runs-on : ubuntu-22.04
@@ -55,15 +55,24 @@ jobs:
5555 shell : bash
5656 run : |
5757 cd documentation
58- doxygen Doxyfile
59- cat Doxyfile
60-
58+ if ! doxygen Doxyfile; then
59+ echo "Doxygen failed, but workflow will continue."
60+ fi
61+
62+ # 检查生成结果
63+ if [ -d "html" ]; then
64+ echo "✅ HTML documentation generated successfully."
65+ else
66+ echo "❌ Warning: HTML directory not found."
67+ exit 1
68+ fi
69+
6170 - name : Upload static files as artifact
6271 id : deployment
6372 uses : actions/upload-pages-artifact@main # or specific "vX.X.X" version tag for this action
6473 with :
6574 path : documentation/html/
66-
75+
6776 deploy :
6877 if : github.event_name == 'push'
6978 environment :
You can’t perform that action at this time.
0 commit comments