diff --git a/.Rbuildignore b/.Rbuildignore index a96c3ef..df72bab 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,2 +1,3 @@ ^\.github$ ^_litedown\.yml$ +^pkgup$ diff --git a/.github/workflows/pkgup.yaml b/.github/workflows/pkgup.yaml index 158488b..a843ae5 100644 --- a/.github/workflows/pkgup.yaml +++ b/.github/workflows/pkgup.yaml @@ -42,8 +42,10 @@ jobs: - name: website if: github.ref == 'refs/heads/litedown' run: | + ls R CMD INSTALL $(ls -1t pkgup_*.tar.gz | head -n 1) ## seems to be required Rscript -e 'reorder_input2 = function(x) {i = is_index(x); index = x[i][which.min(nchar(x[i]))]; c(index, rev(setdiff(x, index)))}; environment(reorder_input2) <- asNamespace("litedown"); assignInNamespace("reorder_input", reorder_input2, ns="litedown"); litedown::fuse_site("pkgup")' ## hacking litedown to rev order so ./vignettes/*.html are generated before their index ./vignettes.html + ls -R pkgup mkdir -p public find pkgup -name '*.html' -print0 | cpio -pvdmB --null public ls -R public