Skip to content

Commit

Permalink
Merge pull request #79 from ttscience/fix-pkgdown
Browse files Browse the repository at this point in the history
Fix pkgdown
  • Loading branch information
kamilsi authored Mar 5, 2024
2 parents 85919a4 + 3c7957e commit df8b7d8
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 188 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,24 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
install-pandoc: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-renv@v2

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
run: pkgdown::build_site_github_pages(new_process = FALSE, install = TRUE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- 5432:5432

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ COPY inst/ ./inst
COPY R/ ./R
COPY tests/ ./inst/tests

RUN R CMD INSTALL --no-multiarch .
RUN R -e "devtools::install('.')"

EXPOSE 3838

Expand Down
Loading

0 comments on commit df8b7d8

Please sign in to comment.