@@ -297,8 +297,9 @@ integration:
297297 script :
298298 - R --version
299299 - *install-deps # # markdown pkg not present in r-pkgdown image
300+ - mkdir -p ./pkgdown/favicon/ && cp .graphics/favicon/* ./pkgdown/favicon/ # # copy favicons
300301 - rm -rf ./vignettes # # r-lib/pkgdown#2383
301- - Rscript -e 'pkgdown::build_site(override=list(destination="./pkgdown "))'
302+ - Rscript -e 'pkgdown::build_site(override=list(destination="./website "))'
302303 # # html manual, vignettes, repos, cran_web, cran_checks
303304 - echo 'source(".ci/ci.R"); source(".ci/publish.R")' >> .Rprofile
304305 # # list of available test-* jobs dynamically based on bus/test-* directories
@@ -359,12 +360,12 @@ integration:
359360 # # web/checks/check_flavors.html
360361 - Rscript -e 'check.flavors(names(test.jobs))'
361362 # # pkgdown vignettes workaround r-lib/pkgdown#2383
362- - mkdir -p pkgdown /articles
363- - cp bus/integration/cran/library/data.table/doc/*.html pkgdown /articles/.
364- - rm pkgdown /articles/index.html
363+ - mkdir -p website /articles
364+ - cp bus/integration/cran/library/data.table/doc/*.html website /articles/.
365+ - rm website /articles/index.html
365366 # # pkgdown merge
366- - Rscript -e 'common_files<-function(path1, path2) intersect(list.files(path1, all.files=TRUE, no..=TRUE), list.files(path2, all.files=TRUE, no..=TRUE)); msg = if (length(f<-common_files("pkgdown ","bus/integration/cran"))) paste(c("Following artifacts will be overwritten by pkgdown artifacts:", paste0(" ", f)), collapse="\n") else "No overlapping files from pkgdown artifacts"; message(msg); q("no")'
367- - mv pkgdown /* bus/integration/cran/
367+ - Rscript -e 'common_files<-function(path1, path2) intersect(list.files(path1, all.files=TRUE, no..=TRUE), list.files(path2, all.files=TRUE, no..=TRUE)); msg = if (length(f<-common_files("website ","bus/integration/cran"))) paste(c("Following artifacts will be overwritten by pkgdown artifacts:", paste0(" ", f)), collapse="\n") else "No overlapping files from pkgdown artifacts"; message(msg); q("no")'
368+ - mv website /* bus/integration/cran/
368369 # # add plausible.io stats
369370 - find bus/integration/cran -type f -iname "*.html" | xargs sed -i 's!<head>!<head><script defer data-domain="rdatatable.gitlab.io/data.table" src="https://plausible.io/js/script.js"></script>!g'
370371 << : *artifacts
0 commit comments