-
Notifications
You must be signed in to change notification settings - Fork 26
65 lines (54 loc) · 1.77 KB
/
Copy pathdoxygen.yml
File metadata and controls
65 lines (54 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Doxygen documentation workflow
name: Doxygen
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Build the Geant4 VMC HTML documentation
- name: Doxygen Geant4 VMC Action
uses: mattnotmitt/doxygen-action@v1.1.0
with:
doxyfile-path: ./source/Doxyfile
working-directory: .
# Deploy the Geant4 VMC HTML documentation to GitHub Pages
- name: GH Pages Deployment for Geant4 VMC
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc
force_orphan: true
publish_branch: gh-pages
# Build the G4Root HTML documentation
- name: Doxygen G4Root Action
uses: mattnotmitt/doxygen-action@v1.1.0
with:
doxyfile-path: ./g4root/Doxyfile
working-directory: .
# Deploy the G4Root HTML documentation to GitHub Pages
- name: GH Pages Deployment for G4Root
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc
force_orphan: true
publish_branch: gh-pages
# Build the Examples HTML documentation
- name: Doxygen Example Action
uses: mattnotmitt/doxygen-action@v1.1.0
with:
doxyfile-path: ./examples/Doxyfile
working-directory: .
# Deploy the Examples HTML documentation to GitHub Pages
- name: GH Pages Deployment for G4Root
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc
force_orphan: true
publish_branch: gh-pages