Commit 497c0421 authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

add pkgdown and CI/CD pages

parent b0529e9e
Pipeline #3224 failed
......@@ -23,3 +23,4 @@
^windows
^doc$
^Meta$
^_pkgdown.yml$
......@@ -157,3 +157,16 @@ deploy:
script:
- sshpass -e ssh -o StrictHostKeyChecking=no $DEPLOY_USER@$DEPLOY_IP "./launch.sh $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $CI_REGISTRY_IMAGE latest"
pages:
stage: deploy
images: rocker/tidyverse:4.0.1
script:
- Rscript -e 'install.packages("pkgdown", repos="cloud.r-project.org", ask=FALSE)'
- Rscript -e 'pkgdown::build_site(override = list(destination = "public"))'
artifacts:
paths:
- public
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
repo:
url:
home: https://gitlab.paca.inrae.fr/CSIRO-INRA/landsepi
navbar:
structure:
left: [home, intro, reference, articles, tutorials, news]
right: [gitlab]
components:
gitlab:
icon: fab fa-gitlab fa-lg
href: https://gitlab.paca.inrae.fr/CSIRO-INRA/landsepi
github:
icon: fab fa-gitlab fa-lg
href: https://gitlab.paca.inrae.fr/CSIRO-INRA/landsepi
Supports Markdown
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