File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ name: Generate Doxygen documentation
3
3
on :
4
4
schedule :
5
5
- cron : 0 1 * * *
6
+ pull_request :
7
+ branches :
8
+ - sycl
9
+ paths :
10
+ - ' .github/workflows/gh_pages.yml'
11
+ - ' clang/docs/**'
12
+ - ' sycl/docs/**'
6
13
7
14
jobs :
8
15
build :
16
23
- name : Install deps
17
24
run : |
18
25
sudo apt-get install -y doxygen graphviz ssh ninja-build
19
- sudo pip3 install 'sphinx==4.1.2' 'myst-parser==0.15.1'
26
+ sudo pip3 install 'sphinx==4.1.2' 'myst-parser==0.15.1' 'recommonmark==0.7.1'
20
27
- name : Build Docs
21
28
run : |
22
29
mkdir -p $GITHUB_WORKSPACE/build
28
35
cmake --build . --target docs-sycl-html
29
36
cmake --build . --target docs-clang-html
30
37
- name : Deploy
38
+ if : ${{ github.event_name == 'schedule' }}
31
39
env :
32
40
SSH_KEY : ${{secrets.ACTIONS_DEPLOY_KEY}}
33
41
run : |
You can’t perform that action at this time.
0 commit comments