Skip to content
Snippets Groups Projects
Commit e1303a62 authored by Ghislain Durif's avatar Ghislain Durif
Browse files

rewrite deployement stage for continuous integration using quarto

parent 4fa103e8
Branches
No related tags found
1 merge request!6Refactor website rendering using quarto
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
pages:
stage: deploy
image: carinerey/r_for_beginners
image: rocker/tidyverse
script:
- make
- quarto -v
- |
#apt-get update && apt-get install -y cargo
#session 1
Rscript -e "install.packages('rvest')"
#session 3
Rscript -e "install.packages('gganimate')"
Rscript -e "install.packages('gifski')"
Rscript -e "install.packages('openxlsx')"
#session 4
Rscript -e "install.packages(c('ghibli', 'nycflights13','viridis','ggrepel'))"
- |
quarto render
mkdir public
cp -r _book/* public/
interruptible: true
artifacts:
paths:
- public
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment