Skip to content
Snippets Groups Projects
Commit 968ef436 authored by Arnaud Duvermy's avatar Arnaud Duvermy
Browse files

build page only on master

parent 4d4c7adc
Branches
Tags
No related merge requests found
......@@ -17,15 +17,6 @@ devtools-check:
script:
- R -e 'devtools::check(error_on = "error")'
pages:
stage: build
script:
- R -e "devtools::document(); pkgdown::build_site(override = list(destination = 'public/'))"
artifacts:
paths:
- public/
unit_test_coverage:
stage: test
allow_failure: true
......@@ -40,3 +31,15 @@ unit_test_coverage:
artifacts:
paths:
- public/
pages:
stage: build
script:
- R -e "devtools::document(); pkgdown::build_site(override = list(destination = 'public/'))"
artifacts:
paths:
- public/
only:
variables:
- $CI_COMMIT_REF_NAME == "master"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment