Commit 62e7d671 authored by Elise Maigne's avatar Elise Maigne
Browse files

comment yml file

parent cae0546f
# J'appelle une image docker qui contient R, rmarkdown, ... https://hub.docker.com/r/rocker/verse
image: rocker/verse:4.0.0
# J'installe les packages qui ne sont pas dans l'image rocker/verse
before_script:
- Rscript -e "install.packages('showtext')"
- Rscript -e "install.packages('DiagrammeR')"
- Rscript -e "install.packages('xaringanthemer')"
- Rscript -e "install.packages('widgetframe')"
pages:
stage: deploy
# Je compile mon document et je place le nécessaire dans un dossier public/
script:
- Rscript -e "rmarkdown::render('presentation.Rmd', output_file = 'index.html')"
- mkdir public
......@@ -15,6 +19,7 @@ pages:
artifacts:
paths:
- public
# Je fais tout ça uniquement sur la branche main
only:
- main
interruptible: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment