Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jangorecki committed Oct 18, 2024
1 parent c3a6b2e commit a8c8b36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
^\.github$
^_litedown\.yml$
^pkgup$
2 changes: 2 additions & 0 deletions .github/workflows/pkgup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8c8b36

Please sign in to comment.