-
Amandine Velt authoredAmandine Velt authored
.gitlab-ci.yml 866 B
# The Docker image that will be used to build your app
image: rocker/verse:4.3.1
# Functions that should be executed before the build script is run
before_script:
- Rscript -e 'install.packages("pak")'
- Rscript -e 'install.packages("shinythemes")'
- apt update && apt install -y libarchive-dev
- Rscript -e 'remotes::install_github("r-lib/httr2@v1.0.0")'
- Rscript -e 'pak::pak("posit-dev/r-shinylive")'
- quarto install extension quarto-ext/shinylive --no-prompt
- quarto install extension davidcarayon/quarto-inrae-extension --no-prompt
pages:
script:
- quarto render index.qmd
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH