Merge branch 'main' of gitlab.com:VickyRampin/lis-628-data-librarianship into main

This commit is contained in:
Vicky Rampin 2021-06-13 15:20:55 -04:00
commit c09a42fa4a
1 changed files with 18 additions and 0 deletions

18
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,18 @@
image: rocker/tidyverse:4.0.0
pages:
stage: deploy
script:
- apt-get -y update
- apt-get -y install wget
- apt-get -y install pandoc
- apt-get -y install pandoc-citeproc
- Rscript -e "install.packages(c('rmarkdown', 'bookdown', 'bookdownplus', 'tinytex', 'webshot', 'knitr', 'kableExtra', 'ggpubr', 'stringr'))"
- Rscript -e "tinytex::install_tinytex()"
- Rscript -e "webshot::install_phantomjs()"
- Rscript -e "bookdown::render_book('index.Rmd', 'all', output_dir = 'public')"
artifacts:
paths:
- public
only:
- main