File tree Expand file tree Collapse file tree 6 files changed +55
-11
lines changed Expand file tree Collapse file tree 6 files changed +55
-11
lines changed Original file line number Diff line number Diff line change 4
4
^man\figures\.gitkeep$
5
5
^studies$
6
6
^CITATION\.cff$
7
+ ^_pkgdown\.yml$
8
+ ^docs$
9
+ ^pkgdown$
Original file line number Diff line number Diff line change 29
29
R_KEEP_PKG_SOURCE : yes
30
30
31
31
steps :
32
- - name : Install stable toolchain
33
- if : ${{startsWith(matrix.config.os, 'windows')}}
34
- uses : actions-rs/toolchain@v1
35
- with :
36
- toolchain : stable
37
- target : x86_64-pc-windows-msvc
38
- profile : minimal
39
- default : true
40
-
41
32
- uses : actions/checkout@v3
42
33
43
34
- uses : r-lib/actions/setup-pandoc@v2
Original file line number Diff line number Diff line change
1
+ # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2
+ # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3
+ on :
4
+ push :
5
+ branches : [main, master]
6
+ pull_request :
7
+ branches : [main, master]
8
+ release :
9
+ types : [published]
10
+ workflow_dispatch :
11
+
12
+ name : pkgdown
13
+
14
+ jobs :
15
+ pkgdown :
16
+ runs-on : ubuntu-latest
17
+ # Only restrict concurrency for non-PR jobs
18
+ concurrency :
19
+ group : pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
20
+ env :
21
+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
22
+ permissions :
23
+ contents : write
24
+ steps :
25
+ - uses : actions/checkout@v3
26
+
27
+ - uses : r-lib/actions/setup-pandoc@v2
28
+
29
+ - uses : r-lib/actions/setup-r@v2
30
+ with :
31
+ use-public-rspm : true
32
+
33
+ - uses : r-lib/actions/setup-r-dependencies@v2
34
+ with :
35
+ extra-packages : any::pkgdown, local::.
36
+ needs : website
37
+
38
+ - name : Build site
39
+ run : pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
40
+ shell : Rscript {0}
41
+
42
+ - name : Deploy to GitHub pages 🚀
43
+ if : github.event_name != 'pull_request'
44
+ uses : JamesIves/github-pages-deploy-action@v4.4.1
45
+ with :
46
+ clean : false
47
+ branch : gh-pages
48
+ folder : docs
Original file line number Diff line number Diff line change @@ -50,3 +50,4 @@ rsconnect/
50
50
51
51
# Mac Specific Files
52
52
.DS_Store
53
+ docs
Original file line number Diff line number Diff line change @@ -50,8 +50,6 @@ preferred-citation:
50
50
doi : 10.1093/nar/gkad871
51
51
journal : " Nucleic Acids Research"
52
52
month : 1
53
- start : 1 # First page number
54
- end : 9 # Last page number
55
53
title : " ClinicalOmicsDB: exploring molecular associations of oncology drug responses in clinical trials"
56
54
issue : D1
57
55
volume : 52
Original file line number Diff line number Diff line change
1
+ url : https://bzhanglab.github.io/clinicalomicsdbR/
2
+ template :
3
+ bootstrap : 5
You can’t perform that action at this time.
0 commit comments