Skip to content

Commit

Permalink
gh-pages fix with remotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mihem committed Oct 26, 2024
1 parent 5a3a8e4 commit 4453238
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,10 @@ jobs:
with:
use-public-rspm: true

- name: Install datathin from GitHub
run: |
install.packages('remotes')
remotes::install_github('anna-neufeld/datathin')
shell: Rscript {0}

- name: Install dependencies
run: |
install.packages('pkgdown')
install.packages('remotes')
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}

- name: Install CSFAtlasTools
run: |
remotes::install_local()
shell: Rscript {0}
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
Expand Down
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ Suggests:
parsnip,
rsample
Config/testthat/edition: 3
Remotes: anna-neufeld/datathin

0 comments on commit 4453238

Please sign in to comment.