Skip to content

Commit 207b6b9

Browse files
committed
Update Gitlab-CI workflow.
1 parent 6e99e7b commit 207b6b9

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

.gitlab-ci.yml

+20
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
11
image: jgilligan/jg-shinyverse:4.4.0
22

3+
stages:
4+
- test
5+
- document
6+
37
test:
8+
stage: test
49
script:
510
- R -e "install.packages(c('DT', 'flextable', 'officer', 'plotly', 'shinyjs', 'kayadata'))"
611
- R CMD build . --no-build-vignettes --no-manual
712
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
813
- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran
14+
15+
pages:
16+
stage: document
17+
dependencies:
18+
- test
19+
script:
20+
- Rscript -e 'pkgdown::build_site(preview = FALSE, new_process = TRUE, devel = FALSE, install = TRUE, override = list(destination = "public"))'
21+
artifacts:
22+
paths:
23+
- public
24+
expire_in: 30 days
25+
only:
26+
- main
27+
28+

README.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gh_url <- httr::build_url(purl)
2121
[![CRAN Status Badge](https://www.r-pkg.org/badges/version-last-release/kayaExplorer)](https://cran.r-project.org/package=kayaExplorer)
2222
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
2323
[![R-CMD-check](https://github.com/jonathan-g/kaya-explorer/workflows/R-CMD-check/badge.svg)](https://github.com/jonathan-g/kayaExplorer/actions)
24-
**GitLab:** [![Build Status](https://gitlab.jgilligan.org/gilligan_teaching/ees_3310/ees_3310_software/kaya-explorer/badges/master/build.svg)](https://gitlab.jgilligan.org/gilligan_teaching/ees_3310/ees_3310_software/kaya-explorer/commits/master)
24+
**GitLab:** [![Build Status](https://gitlab.jgilligan.org/gilligan_teaching/ees_3310/ees_3310_software/kaya-explorer/badges/main/build.svg)](https://gitlab.jgilligan.org/gilligan_teaching/ees_3310/ees_3310_software/kaya-explorer/commits/main)
2525
<!-- badges: end -->
2626

2727
The `kayaExplorer` package is an R Shiny package to interactively explore the

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
Badge](https://www.r-pkg.org/badges/version-last-release/kayaExplorer)](https://cran.r-project.org/package=kayaExplorer)
77
[![License:
88
MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9-
[![R-CMD-check](https://github.com/jonathan-g/kayaExplorer/workflows/R-CMD-check/badge.svg)](https://github.com/jonathan-g/kayaExplorer/actions)
9+
[![R-CMD-check](https://github.com/jonathan-g/kaya-explorer/workflows/R-CMD-check/badge.svg)](https://github.com/jonathan-g/kayaExplorer/actions)
1010
**GitLab:** [![Build
11-
Status](https://gitlab.jgilligan.org/gilligan_teaching/ees_3310/ees_3310_software/kaya-explorer/badges/master/build.svg)](https://gitlab.jgilligan.org/gilligan_teaching/ees_3310/ees_3310_software/kaya-explorer/commits/master)
11+
Status](https://gitlab.jgilligan.org/gilligan_teaching/ees_3310/ees_3310_software/kaya-explorer/badges/main/build.svg)](https://gitlab.jgilligan.org/gilligan_teaching/ees_3310/ees_3310_software/kaya-explorer/commits/main)
1212
<!-- badges: end -->
1313

1414
The `kayaExplorer` package is an R Shiny package to interactively

0 commit comments

Comments
 (0)