Skip to content
Snippets Groups Projects
Commit 69791f8e authored by Rob Moss's avatar Rob Moss
Browse files

Deploy the pkgdown site on GitLab Pages

parent 21fdec26
Branches
No related tags found
No related merge requests found
......@@ -14,3 +14,18 @@ vignettes:
# NOTE: this does not affect artefacts from the latest job.
# https://gitlab.unimelb.edu.au/help/ci/yaml/index.md#artifactsexpire_in
expire_in: 1 week
pages:
image: rocker/tidyverse:4.3
script:
# Install all of the package dependencies.
- Rscript -e 'devtools::install_deps(".", dependencies = TRUE, upgrade = "never")'
# Install pkgdown.
- Rscript -e 'install.packages("pkgdown")'
# Build the website.
- Rscript -e 'pkgdown::build_site()'
artifacts:
paths:
- public
only:
- master
url: ~
destination: "public"
url: https://rgmoss.pages.gitlab.unimelb.edu.au/malaria-spleen-rbc-loss/
template:
bootstrap: 5
......@@ -11,14 +12,13 @@ articles:
- rbc-steady-state
- sensitivity-analyses
- uninfected-rbc-loss
- increased-macrophages
reference:
- title: "Running model simulations"
desc: >
Functions that run model simulations.
contents:
- run_spleenrbc
- "run_spleenrbc"
- title: "Model parameters"
desc: >
Functions that define baseline parameters and calculate the values of
......
*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment