info628-data-librarianship/.gitlab-ci.yml

19 lines
569 B
YAML
Raw Normal View History

2021-06-13 14:22:19 +00:00
image: rocker/tidyverse:4.0.0
2021-06-13 14:21:34 +00:00
2021-06-13 14:22:19 +00:00
pages:
stage: deploy
2021-06-13 14:21:34 +00:00
script:
2021-06-13 14:22:19 +00:00
- 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