Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CSIRO-INRA
landsepi
Commits
f0f0e51f
Commit
f0f0e51f
authored
Mar 25, 2021
by
Jean-Francois Rey
☕
Browse files
add pages generation via pkgdown
parent
d410ff2a
Changes
3
Hide whitespace changes
Inline
Side-by-side
.Rbuildignore
View file @
f0f0e51f
...
...
@@ -23,3 +23,4 @@
^windows
^doc$
^Meta$
^_pkgdown.yml$
.gitlab-ci.yml
View file @
f0f0e51f
...
...
@@ -157,3 +157,19 @@ 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
image
:
rocker/tidyverse:4.0.1
before_script
:
-
apt-get update
-
apt-get install -y --no-install-recommends libgsl-dev libudunits2-dev libproj-dev libgdal-dev libharfbuzz-dev libfribidi-dev
script
:
-
Rscript -e 'install.packages(c("devtools", "pkgdown"), repos="cloud.r-project.org")'
-
Rscript -e 'devtools::install()'
-
Rscript -e 'pkgdown::build_site(override = list(destination = "public"))'
artifacts
:
paths
:
-
public
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
when
:
always
_pkgdown.yml
0 → 100644
View file @
f0f0e51f
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment