Skip to content

Commit

Permalink
serve html website
Browse files Browse the repository at this point in the history
  • Loading branch information
jangorecki committed Oct 17, 2024
1 parent 211c554 commit 5084c3a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pkgup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ jobs:
- name: website
if: github.ref == 'refs/heads/litedown'
run: |
ls ./docs
Rscript -e 'litedown::fuse_site("docs")'
find ./docs -name '*.html' | cpio -pdm ./public
mkdir -p public
find docs -name '*.html' -print0 | cpio -pvdmB --null public
mv public/docs/* public
rm -r public/docs
- name: repo
if: github.ref == 'refs/heads/litedown'
run: |
Expand Down

0 comments on commit 5084c3a

Please sign in to comment.